2024-06-24 15:38:28 +00:00
|
|
|
# Enables the XFCE desktop environment.
|
2024-08-02 21:55:48 +00:00
|
|
|
{ config, lib, ... }:
|
2024-06-24 15:38:28 +00:00
|
|
|
let
|
|
|
|
cfg = config.aux.system.ui.desktops.xfce;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options = {
|
2024-09-08 15:58:56 +00:00
|
|
|
aux.system.ui.desktops.xfce.enable = lib.mkEnableOption "Enables the XFCE desktop environment.";
|
2024-06-24 15:38:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
aux.system.ui.desktops.enable = true;
|
|
|
|
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
desktopManager = {
|
|
|
|
xterm.enable = false;
|
|
|
|
xfce.enable = true;
|
|
|
|
};
|
|
|
|
displayManager.defaultSession = "xfce";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|