Compare commits
2 Commits
b82c02f0eb
...
446aa835dd
Author | SHA1 | Date |
---|---|---|
coolneng | 446aa835dd | |
coolneng | d368a96e18 |
|
@ -38,11 +38,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1673226411,
|
||||
"narHash": "sha256-b6cGb5Ln7Zy80YO66+cbTyGdjZKtkoqB/iIIhDX9gRA=",
|
||||
"lastModified": 1673540789,
|
||||
"narHash": "sha256-xqnxBOK3qctIeUVxecydrEDbEXjsvHCPGPbvsl63M/U=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "aa1d74709f5dac623adb4d48fdfb27cc2c92a4d4",
|
||||
"rev": "0f213d0fee84280d8c3a97f7469b988d6fe5fcdf",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -24,8 +24,9 @@ with pkgs;
|
|||
'')
|
||||
];
|
||||
boot.extraModprobeConfig = ''
|
||||
options snd-hda-intel patch=hda-jack-retask.fw
|
||||
options snd-hda-intel patch=hda-jack-retask.fw power_save=1
|
||||
options mac80211 beacon_loss_count=500
|
||||
options iwlwifi power_save=1
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
CPU_SCALING_MIN_FREQ_ON_AC = 800000;
|
||||
CPU_SCALING_MAX_FREQ_ON_AC = 3000000;
|
||||
CPU_SCALING_MIN_FREQ_ON_BAT = 800000;
|
||||
CPU_SCALING_MAX_FREQ_ON_BAT = 2000000;
|
||||
CPU_MIN_PERF_ON_AC = 0;
|
||||
CPU_MAX_PERF_ON_AC = 100;
|
||||
CPU_MIN_PERF_ON_BAT = 0;
|
||||
CPU_MAX_PERF_ON_BAT = 50;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue