2024-06-15 18:26:05 +00:00
|
|
|
# Enables the XFCE desktop environment.
|
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
let
|
2024-06-16 16:52:46 +00:00
|
|
|
cfg = config.aux.system.ui.desktops.xfce;
|
2024-06-15 18:26:05 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
options = {
|
2024-06-16 16:52:46 +00:00
|
|
|
aux.system.ui.desktops.xfce.enable = lib.mkEnableOption (
|
2024-06-15 18:26:05 +00:00
|
|
|
lib.mdDoc "Enables the XFCE desktop environment."
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
2024-06-16 16:52:46 +00:00
|
|
|
aux.system.ui.desktops.enable = true;
|
2024-06-15 18:26:05 +00:00
|
|
|
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
desktopManager = {
|
|
|
|
xterm.enable = false;
|
|
|
|
xfce.enable = true;
|
|
|
|
};
|
|
|
|
displayManager.defaultSession = "xfce";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|