update hub
This commit is contained in:
@@ -25,5 +25,6 @@
|
||||
#./cosmic.nix
|
||||
./shared.nix
|
||||
./nightlight.nix
|
||||
./xfce.nix
|
||||
];
|
||||
}
|
||||
|
||||
19
modules/graphical/xfce.nix
Normal file
19
modules/graphical/xfce.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user