set up tlp
This commit is contained in:
parent
9ed4d133a8
commit
0bea74cd23
12
hosts/tkaronto/modules/tlp.nix
Normal file
12
hosts/tkaronto/modules/tlp.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
services.tlp = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
RADEON_DPM_PERF_LEVEL_ON_AC = "auto";
|
||||||
|
RADEON_DPM_PERF_LEVEL_ON_BAT = "low";
|
||||||
|
RADEON_DPM_STATE_ON_AC = "performance";
|
||||||
|
RADEON_DPM_STATE_ON_BAT = "battery";
|
||||||
|
NMI_WATCHDOG = 0;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user