Add swapfile to config

This commit is contained in:
Filippo Berto 2023-01-05 16:42:20 +01:00
parent 14943ca146
commit 6c730360a0
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056

View file

@ -105,7 +105,10 @@
};
swapDevices =
[{ device = "/dev/disk/by-uuid/5f3cf424-2bd8-4352-a778-1bb067cb5700"; }];
[
{ device = "/dev/disk/by-uuid/5f3cf424-2bd8-4352-a778-1bb067cb5700"; }
{ device = "/swapfile"; size = 1024 * 32; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's