Skip to content

Commit

Permalink
Fix powerdevil options being reset without overrideConfig (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
HeitorAugustoLN authored Sep 7, 2024
1 parent d909dcd commit 1b9c820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/powerdevil.nix
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ in
};

config.programs.plasma.configFile = lib.mkIf cfg.enable {
powerdevilrc = lib.filterAttrs (k: v: v != null) ((createPowerDevilConfig "AC" "AC")
powerdevilrc = lib.filterAttrsRecursive (k: v: v != null) ((createPowerDevilConfig "AC" "AC")
// (createPowerDevilConfig "Battery" "battery")
// (createPowerDevilConfig "LowBattery" "lowBattery"));
};
Expand Down

0 comments on commit 1b9c820

Please sign in to comment.