From 88b89023da15a5b7187395e5f51816c556281685 Mon Sep 17 00:00:00 2001 From: Lumpiasty Date: Tue, 19 May 2026 03:52:59 +0200 Subject: [PATCH] use gear group for kde apps Previously, I was iterating through all kdePackages, which contained not only apps, but also libraries and added it all to systemPackages, which inflated systemPakcages. Turns out there is curated set which contains apps, let's make use of it. --- modules/desktop/plasma.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/desktop/plasma.nix b/modules/desktop/plasma.nix index c6c5fb9..227f092 100644 --- a/modules/desktop/plasma.nix +++ b/modules/desktop/plasma.nix @@ -34,14 +34,11 @@ # Use wayland in electron apps environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.systemPackages = - (lib.pipe pkgs.kdePackages.sources [ - builtins.attrNames - (builtins.map (n: pkgs.kdePackages.${n})) + (lib.pipe (builtins.attrValues pkgs.kdePackages.gear) [ (builtins.filter (pkg: !pkg.meta.broken)) # Exclude neochat and itinerary due to known vulnerabilities (builtins.filter (pkg: pkg.pname != "neochat")) (builtins.filter (pkg: pkg.pname != "itinerary")) - (builtins.filter (pkg: pkg.pname != "libquotient")) # Exclude angelfish due to build failure (builtins.filter (pkg: pkg.pname != "angelfish"))