module moving mostly done

This commit is contained in:
Gerg-L 2023-02-21 22:30:10 -05:00
parent a9de747c25
commit e78a971b9b
33 changed files with 455 additions and 447 deletions

23
modules/DE/xfce.nix Normal file
View file

@ -0,0 +1,23 @@
_: {
config,
lib,
options,
...
}:
with lib; let
cfg = config.localModules.DE.xfce;
in {
options.localModules.DE.xfce = {
enable = mkEnableOption "";
};
config = mkIf cfg.enable {
services.xserver = {
enable = true;
desktopManager.xfce = {
enable = true;
enableScreensaver = true;
};
displayManager.defaultSession = "xfce";
};
};
}