summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorseth <[email protected]>2024-03-08 12:26:05 -0500
committerseth <[email protected]>2024-03-08 12:26:05 -0500
commitdc50ae938edcaeded36fcafd6627841f6ca8a397 (patch)
treecc6e39ea8137ea7ba8eff4599be84fe444a45d51 /modules
parent8165205298b8795fff71ee9bdb3ee6de395dcf67 (diff)
nixos/plasma: install haruna
Diffstat (limited to 'modules')
-rw-r--r--modules/nixos/desktop/plasma/default.nix10
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 {}
);
}