nix-configs/modules/desktop/x.nix
2024-06-12 11:11:13 +02:00

26 lines
445 B
Nix

{pkgs, ...}: {
services.xserver = {
enable = true;
desktopManager = {
xterm.enable = false;
};
displayManager = {
gdm.enable = true;
sessionPackages = [
pkgs.sway
];
gdm.autoLogin.delay = 5;
};
windowManager.xmonad = {
enable = true;
};
};
security.polkit.enable = true;
programs.sway.enable = true;
services.displayManager.defaultSession = "none+xmonad";
}