summaryrefslogtreecommitdiff
path: root/systems/glados/boot.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-11-28 19:40:54 -0500
committerseth <[email protected]>2023-11-28 19:40:54 -0500
commit52c76b79aa76ccf9b2a22c3c5fd8c1fdddd4bd56 (patch)
treef2e253ede04122b9822c9268eb39150089a93950 /systems/glados/boot.nix
parent91c055ffd83db5bcf9501e5492abb8b656eeeb91 (diff)
glados: use real path for energy_performance_preference
Diffstat (limited to 'systems/glados/boot.nix')
-rw-r--r--systems/glados/boot.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/systems/glados/boot.nix b/systems/glados/boot.nix
index 4a9af4e..e0326a0 100644
--- a/systems/glados/boot.nix
+++ b/systems/glados/boot.nix
@@ -12,7 +12,15 @@
initrd.systemd.enable = true;
kernelPackages = pkgs.linuxPackages_latest;
- bootspec.enable = true;
+ kernelParams = ["amd_pstate=active"];
+
+ kernel.sysctl = {
+ "vm.swappiness" = 100;
+ "vm.vfs_cache_pressure" = 500;
+ "vm.dirty_background_ratio" = 1;
+ "vm.dirty_ratio" = 50;
+ };
+
loader.systemd-boot.enable = lib.mkForce false;
lanzaboote = {