diff options
Diffstat (limited to 'hosts/common/desktop/plasma.nix')
| -rw-r--r-- | hosts/common/desktop/plasma.nix | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/hosts/common/desktop/plasma.nix b/hosts/common/desktop/plasma.nix index 98eee0b..80514fd 100644 --- a/hosts/common/desktop/plasma.nix +++ b/hosts/common/desktop/plasma.nix @@ -1,22 +1,13 @@ -{ - config, - pkgs, - ... -}: let - xserverConfig = - if config.sys.desktop == "plasma" - then { - displayManager.sddm.enable = true; - desktopManager.plasma5 = { - enable = true; - excludePackages = with pkgs.libsForQt5; [ - khelpcenter - plasma-browser-integration - print-manager - ]; - }; - } - else {}; -in { - services.xserver = xserverConfig; +{pkgs, ...}: { + services.xserver = { + displayManager.sddm.enable = true; + desktopManager.plasma5 = { + enable = true; + excludePackages = with pkgs.libsForQt5; [ + khelpcenter + plasma-browser-integration + print-manager + ]; + }; + }; } |
