diff options
| author | seth <[email protected]> | 2024-03-08 12:26:05 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-03-08 12:26:05 -0500 |
| commit | dc50ae938edcaeded36fcafd6627841f6ca8a397 (patch) | |
| tree | cc6e39ea8137ea7ba8eff4599be84fe444a45d51 /modules/nixos/desktop/plasma/default.nix | |
| parent | 8165205298b8795fff71ee9bdb3ee6de395dcf67 (diff) | |
nixos/plasma: install haruna
Diffstat (limited to 'modules/nixos/desktop/plasma/default.nix')
| -rw-r--r-- | modules/nixos/desktop/plasma/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
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 {} ); } |
