Compare commits

...

2 Commits

Author SHA1 Message Date
coolneng 446aa835dd
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/aa1d74709f5dac623adb4d48fdfb27cc2c92a4d4' (2023-01-09)
  → 'github:NixOS/nixpkgs/0f213d0fee84280d8c3a97f7469b988d6fe5fcdf' (2023-01-12)
2023-01-13 22:56:34 +01:00
coolneng d368a96e18
Tweak the power saving settings 2023-01-13 22:56:34 +01:00
3 changed files with 9 additions and 8 deletions

View File

@ -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": {

View File

@ -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
''; '';
} }

View File

@ -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;
}; };
}; };