diff options
| author | seth <[email protected]> | 2023-11-28 19:40:54 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-11-28 19:40:54 -0500 |
| commit | 52c76b79aa76ccf9b2a22c3c5fd8c1fdddd4bd56 (patch) | |
| tree | f2e253ede04122b9822c9268eb39150089a93950 /systems/glados/default.nix | |
| parent | 91c055ffd83db5bcf9501e5492abb8b656eeeb91 (diff) | |
glados: use real path for energy_performance_preference
Diffstat (limited to 'systems/glados/default.nix')
| -rw-r--r-- | systems/glados/default.nix | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/systems/glados/default.nix b/systems/glados/default.nix index bd62702..e85bd08 100644 --- a/systems/glados/default.nix +++ b/systems/glados/default.nix @@ -10,16 +10,6 @@ self.nixosModules.gnome ]; - boot = { - kernelParams = ["amd_pstate=active"]; - kernel.sysctl = { - "vm.swappiness" = 100; - "vm.vfs_cache_pressure" = 500; - "vm.dirty_background_ratio" = 1; - "vm.dirty_ratio" = 50; - }; - }; - features = { tailscale.enable = true; virtualisation.enable = true; @@ -46,7 +36,7 @@ nproc = 12; in builtins.map - (n: "w /sys/devices/system/cpu/cpu${builtins.toString n}/cpufreq/energy_performance_preference - - - - ${"balance_performance"}") + (n: "w /sys/devices/system/cpu/cpufreq/policy${builtins.toString n}/energy_performance_preference - - - - ${"balance_performance"}") (lib.range 0 (nproc - 1)); powerManagement.cpuFreqGovernor = "powersave"; |
