nix-configs/modules/desktop/x.nix

27 lines
445 B
Nix
Raw Normal View History

2024-06-12 09:11:13 +00:00
{pkgs, ...}: {
services.xserver = {
enable = true;
desktopManager = {
xterm.enable = false;
};
displayManager = {
gdm.enable = true;
2024-06-12 09:11:13 +00:00
sessionPackages = [
pkgs.sway
];
gdm.autoLogin.delay = 5;
};
windowManager.xmonad = {
enable = true;
};
};
2024-05-06 19:32:14 +00:00
2024-06-12 09:11:13 +00:00
security.polkit.enable = true;
programs.sway.enable = true;
2024-05-06 19:32:14 +00:00
services.displayManager.defaultSession = "none+xmonad";
}