mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
fix(power): pin the tuned profile per host, cap the VM hosts (#458)
Assisted-by: DeepSeek Harness (deepseek-flash)
This commit is contained in:
1 parent
65f1c8e306
commit
b4b293ebfa
6 files changed
+41
-21
No files matched your search
@@ -21,8 +21,11 @@ in
|
||||
|
||||
# disable sunshine for security
|
||||
services.sunshine.enable = lib.mkForce false;
|
||||
# battery-first: override the profile default
|
||||
services.tuned.ppdSettings.main.default = lib.mkForce "power-saver";
|
||||
# battery-first: pin the low-power profile. apple-cpufreq exposes no EPP or
|
||||
# platform_profile, so the only thing this changes is cpufreq boost.
|
||||
services.tuned.recommend = {
|
||||
powersave = { };
|
||||
};
|
||||
|
||||
# Laptop joins untrusted networks and is never scraped (see youko's
|
||||
# `offlineHosts`); don't expose :9100, and don't keep the smartctl exporter
|
||||
|
||||
Reference in new issue
Block a user