Use swap
This commit is contained in:
parent
6ba98bf0c3
commit
4dfaa5ea43
|
@ -4,4 +4,7 @@
|
||||||
boot.loader.grub.device = "/dev/vda";
|
boot.loader.grub.device = "/dev/vda";
|
||||||
boot.initrd.kernelModules = [ "nvme" ];
|
boot.initrd.kernelModules = [ "nvme" ];
|
||||||
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
|
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
|
||||||
|
|
||||||
|
# swap
|
||||||
|
swapDevices = [ { device = "/var/swapfile"; } ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue