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