From dc50ae938edcaeded36fcafd6627841f6ca8a397 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 8 Mar 2024 12:26:05 -0500 Subject: nixos/plasma: install haruna --- modules/nixos/desktop/plasma/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/nixos/desktop/plasma/default.nix b/modules/nixos/desktop/plasma/default.nix index a84d2a6..3bbc35a 100644 --- a/modules/nixos/desktop/plasma/default.nix +++ b/modules/nixos/desktop/plasma/default.nix @@ -10,14 +10,17 @@ in { config = lib.mkIf cfg.enable ( # this is bad, i don't care - if (lib.versionAtLeast lib.version "24.05pre-git") - then { + lib.optionalAttrs (lib.versionAtLeast lib.version "24.05pre-git") { environment = { - plasma6.excludePackages = with pkgs.libsForQt5; [ + plasma6.excludePackages = with pkgs.kdePackages; [ khelpcenter plasma-browser-integration print-manager ]; + + systemPackages = with pkgs; [ + haruna + ]; }; services.xserver = { @@ -32,6 +35,5 @@ in { }; }; } - else {} ); } -- cgit v1.2.3