From 0b706e529d6253eeb35da9f505d2c9b88c3f7e7f Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 17 Apr 2024 20:52:06 -0600 Subject: [PATCH] gui/kde: install kcolorchooser --- gui/kde.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/gui/kde.nix b/gui/kde.nix index 6acc76d..0f966cc 100644 --- a/gui/kde.nix +++ b/gui/kde.nix @@ -6,7 +6,13 @@ }: let inherit (lib) mkIf mkEnableOption mkMerge mkOption types; + kconnect = (mkIf config.kdeConnect.enable + (if isUnstable then + pkgs.kdePackages.kdeconnect-kde + else + pkgs.plasma5Packages.kdeconnect-kde)); in +with pkgs; { options = { kde = { enable = mkEnableOption "Enable KDE desktop."; }; @@ -54,10 +60,9 @@ in allowedTCPPortRanges = [ range ]; }; }; - environment.systemPackages = mkIf config.kdeConnect.enable - (if isUnstable then - [ pkgs.kdePackages.kdeconnect-kde ] - else - [ pkgs.plasma5Packages.kdeconnect-kde ]); + environment.systemPackages = [ + kcolorchooser + kconnect + ]; }; }