diff options
Diffstat (limited to 'modules/desktop/xserver.nix')
-rw-r--r-- | modules/desktop/xserver.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/desktop/xserver.nix b/modules/desktop/xserver.nix new file mode 100644 index 0000000..3ae324c --- /dev/null +++ b/modules/desktop/xserver.nix @@ -0,0 +1,24 @@ +{ pkgs, config, lib, ... }: + +{ + # Enable the X11 windowing system. + services.xserver = { + enable = true; + layout = "us"; + xkbOptions = "eurosign:e"; + + desktopManager = { + xterm.enable = false; + }; + + displayManager = { + defaultSession = "none+i3"; + lightdm.enable = true; + }; + + windowManager = { + default = "i3"; + i3.enable = true; + }; + }; +} |