diff --git a/desktop/plasma.nix b/desktop/plasma.nix index 16cb2fc..9339e37 100644 --- a/desktop/plasma.nix +++ b/desktop/plasma.nix @@ -3,7 +3,7 @@ with lib; let cfg = config.aviallon.desktop; in { - config = mkIf cfg.enable { + config = mkIf (cfg.enable && (cfg.environment == "plasma")) { # Enable the Plasma 5 Desktop Environment. services.xserver.desktopManager.plasma5 = { enable = true; @@ -54,10 +54,11 @@ in { plasma-pa ark kolourpaint + krdc ]; xdg.portal = { - enable = mkDefault true; + enable = mkDefault true; extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];