fix(x1): powercap
This commit is contained in:
parent
288052b7f3
commit
ebdd1c8ae1
2 changed files with 11 additions and 10 deletions
|
|
@ -17,7 +17,7 @@
|
|||
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM=="powercap", KERNEL=="intel-rapl:0", ATTR{constraint_0_power_limit_uw}="28000000", ATTR{constraint_1_power_limit_uw}="35000000", ATTR{constraint_1_time_window_us}="9994240"
|
||||
SUBSYSTEM=="powercap", KERNEL=="intel-rapl:0", ATTR{constraint_0_power_limit_uw}="28000000", ATTR{constraint_1_power_limit_uw}="100000000", ATTR{constraint_1_time_window_us}="20000000", ATTR{constraint_0_time_window_us}="40000000"
|
||||
'';
|
||||
|
||||
boot = {
|
||||
|
|
@ -40,6 +40,7 @@
|
|||
"quiet"
|
||||
"splash"
|
||||
"video=efifb:nobgrt"
|
||||
"mitigations=off"
|
||||
];
|
||||
|
||||
extraModulePackages = [ ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue