mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-05-03 04:03:08 +00:00
~
This commit is contained in:
parent
c1a57e52f4
commit
c576378a6a
2 changed files with 2 additions and 2 deletions
80
nixos/hosts/base.nix
Normal file
80
nixos/hosts/base.nix
Normal file
|
@ -0,0 +1,80 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
../packages.nix
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
programs = {
|
||||
dconf.enable = true;
|
||||
firefox.enable = true;
|
||||
fish.enable = true;
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
# X11
|
||||
xserver = {
|
||||
enable = true;
|
||||
xkb.layout = "us";
|
||||
windowManager = {
|
||||
e16.enable = true;
|
||||
openbox.enable = true;
|
||||
twm.enable = true;
|
||||
};
|
||||
desktopManager = {
|
||||
pantheon.enable = true;
|
||||
};
|
||||
};
|
||||
displayManager = {
|
||||
sddm = {
|
||||
enable = true;
|
||||
settings = {
|
||||
Autologin = {
|
||||
User = "rae";
|
||||
Session = "none+openbox";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Touchpad support
|
||||
libinput.enable = true;
|
||||
# OpenSSH
|
||||
openssh.enable = true;
|
||||
# Sound
|
||||
pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
# CUPS printing
|
||||
printing.enable = true;
|
||||
# Flatpak
|
||||
flatpak.enable = true;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
enableDefaultPackages = true;
|
||||
packages = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-emoji
|
||||
fira-code
|
||||
gohufont
|
||||
];
|
||||
};
|
||||
|
||||
users.users.rae = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
hashedPassword = "$y$j9T$YPq.Kl8rss1JmJ5Vg6cHE/$2kdfzCkkhaO.I4u714EQnS/ZFert5byisiRVxtC.9G2";
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue