update hub

This commit is contained in:
Kopatz
2024-11-25 14:20:57 +01:00
parent 5fdbafd29b
commit 41e669aee7
7 changed files with 52 additions and 10 deletions

View File

@@ -25,5 +25,6 @@
#./cosmic.nix
./shared.nix
./nightlight.nix
./xfce.nix
];
}

View File

@@ -0,0 +1,19 @@
{lib, config, pkgs, ...}:
with lib;
let
cfg = config.custom.graphical.xfce;
in
{
options.custom.graphical.xfce = {
enable = mkEnableOption "Enables lxqt";
};
config = mkIf cfg.enable {
services.xserver = {
xkb.layout = config.mainUser.layout;
xkb.variant = config.mainUser.variant;
enable = true;
desktopManager.xfce.enable = true;
};
};
}