2024-06-12 11:11:13 +02:00
|
|
|
{pkgs, ...}: {
|
2024-03-05 13:10:08 +01:00
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
desktopManager = {
|
|
|
|
xterm.enable = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
displayManager = {
|
|
|
|
gdm.enable = true;
|
2024-06-12 11:11:13 +02:00
|
|
|
sessionPackages = [
|
|
|
|
pkgs.sway
|
|
|
|
];
|
|
|
|
gdm.autoLogin.delay = 5;
|
2024-03-05 13:10:08 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
windowManager.xmonad = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
};
|
2024-05-06 21:32:14 +02:00
|
|
|
|
2024-06-12 11:11:13 +02:00
|
|
|
security.polkit.enable = true;
|
2024-06-12 13:25:51 +02:00
|
|
|
# programs.sway.enable = true;
|
2024-06-12 11:11:13 +02:00
|
|
|
|
2024-06-12 13:25:51 +02:00
|
|
|
# services.displayManager.defaultSession = "none+xmonad";
|
|
|
|
services.displayManager.defaultSession = "sway";
|
2024-03-05 13:10:08 +01:00
|
|
|
}
|