mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-06 07:36:23 +01:00
28 lines
498 B
Nix
28 lines
498 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";
|
|
services.displayManager.defaultSession = "sway";
|
|
}
|