diff options
Diffstat (limited to '')
-rw-r--r-- | modules/desktop/default.nix | 1 | ||||
-rw-r--r-- | modules/desktop/xserver.nix | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index b2d2101..f150066 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -3,5 +3,6 @@ imports = [ ./fonts.nix ./sound.nix + ./xserver.nix ]; } diff --git a/modules/desktop/xserver.nix b/modules/desktop/xserver.nix new file mode 100644 index 0000000..ba19c1a --- /dev/null +++ b/modules/desktop/xserver.nix @@ -0,0 +1,32 @@ +{ config, pkgs, lib, ... }: + +{ + services.xserver = { + enable = true; + layout = "us"; + xkbOptions = "eurosign:e"; + libinput.enable = true; + + desktopManager = { + xterm.enable = false; + }; + + displayManager = { + lightdm.enable = true; + defaultSession = "none+i3"; + }; + + windowManager = { + i3.enable = true; + extraPackages = with pkgs; [ + rofi + i3status + i3lock + alacritty + ]; + }; + }; + + services.gnome.gnome-keyring.enable = true; + services.gvfs.enable = true; +} |