26 lines
439 B
Nix
26 lines
439 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib;
|
|
let
|
|
cfg = config.custom.graphical.lxqt;
|
|
in
|
|
{
|
|
options.custom.graphical.lxqt = {
|
|
enable = mkEnableOption "Enables lxqt";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
services.xserver = {
|
|
xkb.layout = config.mainUser.layout;
|
|
xkb.variant = config.mainUser.variant;
|
|
enable = true;
|
|
#displayManager.sddm.enable = true;
|
|
desktopManager.lxqt.enable = true;
|
|
};
|
|
};
|
|
}
|