fix (options): remove unused option & fix errors in option's code

This commit is contained in:
Kirill Samoylenkov 2025-09-27 17:38:26 +05:00
parent 27de19b32d
commit d87fa01cf7
4 changed files with 4 additions and 35 deletions

View file

@ -29,7 +29,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
services.desktopManager.plasma6.enable = true;
environment.plasma6.excludePackages = with pkgs.kdePackages; [
@ -44,9 +44,7 @@ in
pkgs.wl-clipboard
pkgs.wayland-utils
]
++ lib.optional cfg.sddm.enable [
pkgs.kdePackages.sddm-kcm
];
++ lib.optional cfg.sddm.enable pkgs.kdePackages.sddm-kcm;
services.power-profiles-daemon.enable = cfg.powerProfiles.enable;