diff --git a/flake.lock b/flake.lock index c1cb9ee9..3322638c 100644 --- a/flake.lock +++ b/flake.lock @@ -74,11 +74,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1623489190, - "narHash": "sha256-p+aJJZ2BE57+59FDjHuUzaWow1M+bZ0MZDxqeB2/TKI=", + "lastModified": 1623490714, + "narHash": "sha256-Em9Rf+iTY1mTeFOVCLFGGAoSdcx0ekuxuf45ePjsqnY=", "owner": "cyplo", "repo": "nixos-hardware", - "rev": "1a4ac0b996f2bd5f2fba8b94ea5d7c96d1f6e114", + "rev": "a67ed0c3a2d1b31f8233195cbd36bb2501bdf1bc", "type": "github" }, "original": { diff --git a/nixos/boxes/foureighty/hardware-configuration.nix b/nixos/boxes/foureighty/hardware-configuration.nix index ba014902..4d94d7cc 100644 --- a/nixos/boxes/foureighty/hardware-configuration.nix +++ b/nixos/boxes/foureighty/hardware-configuration.nix @@ -7,7 +7,7 @@ boot = { kernel.sysctl = { - "vm.swappiness" = 75; + "vm.swappiness" = 95; }; kernelModules = [ "kvm-intel" ]; @@ -40,7 +40,7 @@ zramSwap = { enable = true; algorithm = "zstd"; - memoryPercent = 50; + memoryPercent = 75; }; nix.maxJobs = 2;