summaryrefslogtreecommitdiff
path: root/hosts/vidhar/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-10-20 21:11:51 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-10-20 21:11:51 +0200
commiteb0d6a1274f98de0448a9ddb466e2e30d1721895 (patch)
treed2fef406e8a1e3f9ebf85a29afac322de365f367 /hosts/vidhar/default.nix
parentf6e341bdbbec0d05a5c20baf79cd1704f6fa3df2 (diff)
downloadnixos-eb0d6a1274f98de0448a9ddb466e2e30d1721895.tar
nixos-eb0d6a1274f98de0448a9ddb466e2e30d1721895.tar.gz
nixos-eb0d6a1274f98de0448a9ddb466e2e30d1721895.tar.bz2
nixos-eb0d6a1274f98de0448a9ddb466e2e30d1721895.tar.xz
nixos-eb0d6a1274f98de0448a9ddb466e2e30d1721895.zip
...
Diffstat (limited to 'hosts/vidhar/default.nix')
-rw-r--r--hosts/vidhar/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index 78f305f8..42a9e80d 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -136,7 +136,7 @@ with lib;
136 wantedBy = ["basic.target"]; 136 wantedBy = ["basic.target"];
137 serviceConfig = { 137 serviceConfig = {
138 ExecStart = pkgs.writeShellScript "limit-pstate-start" '' 138 ExecStart = pkgs.writeShellScript "limit-pstate-start" ''
139 echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct 139 echo 60 > /sys/devices/system/cpu/intel_pstate/max_perf_pct
140 ''; 140 '';
141 RemainAfterExit = true; 141 RemainAfterExit = true;
142 ExecStop = pkgs.writeShellScript "limit-pstate-stop" '' 142 ExecStop = pkgs.writeShellScript "limit-pstate-stop" ''