diff --git a/morph/lib/hardware-virtual.nix b/morph/lib/hardware-virtual.nix index d5e9067bd5f3b3ca2ea1bb46746253fa39b25cf6..cf1582792bff77c491210ee5e91f99bfbffbf9f3 100644 --- a/morph/lib/hardware-virtual.nix +++ b/morph/lib/hardware-virtual.nix @@ -11,6 +11,7 @@ boot.initrd.availableKernelModules = [ "ata_piix" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; + boot.kernel.sysctl = { "vm.swappiness" = 0; }; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; @@ -33,4 +34,3 @@ # We want to push packages with morph without having to sign them nix.trustedUsers = [ "@wheel" "root" "vagrant" ]; } -