Wenche: add swapfile

This commit is contained in:
Felix Albrigtsen 2025-03-29 19:34:42 +01:00
parent c83005983e
commit cd40bd6178

View File

@ -15,7 +15,10 @@
fsType = "ext4";
};
swapDevices = [ ];
swapDevices = [ {
device = "/var/lib/swapfile";
size = 16*1024;
} ];
networking.useDHCP = lib.mkDefault false;
# networking.interfaces.ens18.useDHCP = lib.mkDefault true;