diff --git a/morph/lib/hardware-vagrant.nix b/morph/lib/hardware-vagrant.nix index 10c198a1c34430473fd4f4d01361937faea2d71d..c13cef856552e43e1bdfcab8bffce487dd4c0887 100644 --- a/morph/lib/hardware-vagrant.nix +++ b/morph/lib/hardware-vagrant.nix @@ -20,7 +20,7 @@ boot.loader.grub.device = "/dev/vda"; boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_blk" "sd_mod" "sr_mod" ]; - boot.kernel.sysctl = { "vm.swappiness" = 1; }; + boot.kernel.sysctl = { "vm.swappiness" = 0; }; boot.kernelParams = [ "console=tty0" "console=ttyS0,115200" ]; # remove the fsck that runs at startup. It will always fail to run, stopping