2024-12-04 23:02:08 +01:00
|
|
|
{ config, pkgs, lib, ... }:
|
2024-08-12 17:36:13 +02:00
|
|
|
{
|
2024-12-04 23:02:08 +01:00
|
|
|
services.displayManager = lib.mkIf (!config.machineVars.headless) {
|
|
|
|
enable = true;
|
|
|
|
defaultSession = "none+xmonad";
|
|
|
|
sddm = {
|
|
|
|
enable = true;
|
|
|
|
# wayland.enable = true;
|
|
|
|
package = pkgs.kdePackages.sddm;
|
|
|
|
theme = "sddm-astronaut-theme";
|
|
|
|
# extraPackages = [ pkgs.sddm-astronaut ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.systemPackages = [
|
|
|
|
(pkgs.sddm-astronaut.override {
|
|
|
|
themeConfig = {
|
|
|
|
PartialBlur = false;
|
|
|
|
# Background = "Backgrounds/";
|
|
|
|
};
|
|
|
|
})
|
|
|
|
];
|
2024-12-03 13:19:33 +01:00
|
|
|
services.xserver = lib.mkIf (!config.machineVars.headless) {
|
|
|
|
enable = true;
|
2024-08-12 17:36:13 +02:00
|
|
|
|
|
|
|
xkb = {
|
|
|
|
layout = "us";
|
|
|
|
options = "caps:escape";
|
|
|
|
};
|
|
|
|
|
2024-12-03 13:19:33 +01:00
|
|
|
desktopManager = {
|
|
|
|
xterm.enable = true;
|
|
|
|
xfce.enable = true;
|
|
|
|
};
|
2024-08-12 17:36:13 +02:00
|
|
|
|
2024-12-04 23:02:08 +01:00
|
|
|
# displayManager.lightdm.enable = true;
|
|
|
|
# displayManager.defaultSession = "none+xmonad";
|
2024-08-12 17:36:13 +02:00
|
|
|
|
|
|
|
windowManager.xmonad = {
|
|
|
|
enable = true;
|
|
|
|
enableContribAndExtras = true;
|
|
|
|
enableConfiguredRecompile = true;
|
|
|
|
extraPackages = hPkgs: with hPkgs; [ dbus ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|