Raise swap to 4gb

This commit is contained in:
Natsu Kagami 2023-07-25 12:22:50 +02:00
parent 841a48af72
commit 8c98a1a7e9
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -6,7 +6,7 @@
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
# swap
swapDevices = [{ device = "/var/swapfile"; size = 2 * 1024; }];
swapDevices = [{ device = "/var/swapfile"; size = 4 * 1024; }];
# volumes
fileSystems.data = {
device = "/dev/disk/by-id/scsi-0HC_Volume_31812942";