2024-08-12 17:36:13 +02:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
2024-06-29 02:28:20 +02:00
|
|
|
services.displayManager = {
|
|
|
|
enable = true;
|
|
|
|
defaultSession = "none+xmonad";
|
|
|
|
sddm = {
|
|
|
|
enable = !config.machineVars.headless;
|
|
|
|
wayland.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-08-12 17:36:13 +02:00
|
|
|
services.xserver = {
|
|
|
|
enable = !config.machineVars.headless;
|
|
|
|
|
|
|
|
xkb = {
|
|
|
|
layout = "us";
|
|
|
|
options = "caps:escape";
|
|
|
|
};
|
|
|
|
|
|
|
|
# desktopManager = {
|
|
|
|
# xterm.enable = false;
|
|
|
|
# xfce.enable = !config.machineVars.headless;
|
|
|
|
# };
|
|
|
|
|
2024-06-29 02:28:20 +02:00
|
|
|
# displayManager.lightdm.enable = !config.machineVars.headless;
|
2024-08-12 17:36:13 +02:00
|
|
|
|
|
|
|
windowManager.xmonad = {
|
|
|
|
enable = true;
|
|
|
|
enableContribAndExtras = true;
|
|
|
|
enableConfiguredRecompile = true;
|
2024-06-29 02:28:20 +02:00
|
|
|
extraPackages = hPkgs: with hPkgs; [
|
|
|
|
dbus
|
|
|
|
];
|
2024-08-12 17:36:13 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|