mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 17:03:56 -05:00
21 lines
443 B
Nix
21 lines
443 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";
|
|
};
|
|
};
|
|
_file = ./xfce.nix;
|
|
}
|