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