mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
20 lines
432 B
Nix
20 lines
432 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
options.localModules.DE.xfce.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.localModules.DE.xfce.enable {
|
|
environment.systemPackages = [pkgs.xfce.xfce4-whiskermenu-plugin];
|
|
services.xserver = {
|
|
enable = true;
|
|
desktopManager.xfce = {
|
|
enable = true;
|
|
enableScreensaver = true;
|
|
};
|
|
displayManager.defaultSession = "xfce";
|
|
};
|
|
};
|
|
}
|