feat(gorgon): adapt power management options
This commit is contained in:
parent
87649ec999
commit
fe7dd57bc1
1 changed files with 11 additions and 0 deletions
|
@ -226,5 +226,16 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
powerManagement = {
|
||||||
|
enable = true;
|
||||||
|
powertop.enable = true;
|
||||||
|
cpuFreqGovernor = "schedutil";
|
||||||
|
powerUpCommands = ''
|
||||||
|
echo 40 > /sys/class/power_supply/BAT0/charge_control_start_threshold
|
||||||
|
echo 80 > /sys/class/power_supply/BAT0/charge_control_stop_threshold
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
services.tlp.enable = false;
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue