diff options
Diffstat (limited to 'host/software/desktop/default.nix')
-rw-r--r-- | host/software/desktop/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/host/software/desktop/default.nix b/host/software/desktop/default.nix new file mode 100644 index 0000000..501a561 --- /dev/null +++ b/host/software/desktop/default.nix @@ -0,0 +1,42 @@ +{ pkgs, ... }: + +{ + imports = [ + ./kit.vpn.nix + ]; + + fileSystems."/".options = [ "noatime" "nodiratime" "discard" ]; + + sound.enable = true; + hardware = { + opengl.driSupport32Bit = true; + pulseaudio = { + enable = true; + support32Bit = true; + }; + }; + + services = { + journald = { + extraConfig = ''Storage=volatile''; + }; + + xserver = { + enable = true; + layout = "de"; + xkbOptions = "caps:escape"; + + displayManager.slim = { + enable = true; + autoLogin = true; + defaultUser = "common"; + }; + + desktopManager.default = "none"; + }; + }; + + environment.systemPackages = with pkgs; [ + hdparm ntfs3g + ]; +} |