diff --git a/configs/desktop.nix b/configs/desktop.nix index 3b8bdcc..1e64be5 100644 --- a/configs/desktop.nix +++ b/configs/desktop.nix @@ -7,28 +7,18 @@ # ./ghostty.nix # doesn't work yet ]; - services.displayManager = { - gdm = { - enable = true; - wayland = false; - debug = true; - }; - }; - services.xserver = { - windowManager = { - # stumpwm is still on 24.05 / v2.4.10; but NixOS - # is using v2.5.4. - # stumpwm.enable = true; - # stumpwm.package = pkgs.callPackage /home/kyle/quicklisp/local-projects/stumpwm/stumpwm {}; - i3.enable = true; - }; - xkb = { + services.displayManager.gdm.enable = true; + services.displayManager.gdm.wayland = false; + services.displayManager.gdm.debug = true; + services.xserver.windowManager.i3.enable = true; + services.xserver.xkb = { layout = "us"; options = "ctrl:swapcaps,compose:ralt"; - }; }; - # Enable touchpad support (enabled default in most desktopManager). + services.displayManager.autoLogin.enable = false; + + # Enable touchpad support (enabled default in most desktopManager). services.libinput = { enable = true; mouse.naturalScrolling = true;