diff --git a/nixos/boxes/foureighty/configuration.nix b/nixos/boxes/foureighty/configuration.nix index 14acb9f1..4b2488a4 100644 --- a/nixos/boxes/foureighty/configuration.nix +++ b/nixos/boxes/foureighty/configuration.nix @@ -27,6 +27,7 @@ zramSwap = { enable = true; algorithm = "zstd"; + memoryPercent = 25; }; services.hardware.bolt.enable = true; services.fprintd = { diff --git a/nixos/boxes/foureighty/hardware-configuration.nix b/nixos/boxes/foureighty/hardware-configuration.nix index 4d3dba46..2570d180 100644 --- a/nixos/boxes/foureighty/hardware-configuration.nix +++ b/nixos/boxes/foureighty/hardware-configuration.nix @@ -9,7 +9,7 @@ boot.extraModulePackages = [ ]; boot.kernel.sysctl = { - "vm.swappiness" = 50; + "vm.swappiness" = 75; }; fileSystems."/" = { device = "/dev/disk/by-uuid/7ae9348d-604e-4196-a27b-24a7495438c3"; fsType = "ext4"; };