nixos/sddm: add package option
This commit is contained in:
parent
a4678f9063
commit
06cc32ffc3
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,7 @@ let
|
||||||
cfg = dmcfg.sddm;
|
cfg = dmcfg.sddm;
|
||||||
xEnv = config.systemd.services.display-manager.environment;
|
xEnv = config.systemd.services.display-manager.environment;
|
||||||
|
|
||||||
sddm = pkgs.libsForQt5.sddm;
|
sddm = cfg.package;
|
||||||
|
|
||||||
iniFmt = pkgs.formats.ini { };
|
iniFmt = pkgs.formats.ini { };
|
||||||
|
|
||||||
|
@ -108,6 +108,8 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
package = mkPackageOption pkgs [ "plasma5Packages" "sddm" ] {};
|
||||||
|
|
||||||
enableHidpi = mkOption {
|
enableHidpi = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
|
|
Loading…
Reference in a new issue