leonard: add swapfile

This commit is contained in:
2026-04-08 22:14:25 +02:00
parent 7918ebd7ea
commit 41ed408c23

View File

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