nixos/sddm: add package option

This commit is contained in:
K900 2024-01-03 17:20:10 +03:00
parent a4678f9063
commit 06cc32ffc3

View file

@ -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;