mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Hardware/Intel] Enable thermald by default
This commit is contained in:
parent
43aab48b1e
commit
c4a7421ec6
1 changed files with 2 additions and 2 deletions
|
|
@ -10,14 +10,14 @@ in {
|
|||
};
|
||||
|
||||
services.throttled.enable = generalCfg.unsafeOptimizations;
|
||||
services.thermald.enable = !generalCfg.unsafeOptimizations;
|
||||
services.thermald.enable = true;
|
||||
|
||||
systemd.services.${throttledService} = {
|
||||
bindsTo = [ "ac-power.target" ];
|
||||
conflicts = [ "thermald.service" ];
|
||||
};
|
||||
|
||||
systemd.services.thermald = {
|
||||
systemd.services.thermald = mkIf config.services.thermald.enable {
|
||||
wantedBy = [ "battery-power.target" ];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue