3
5
mirror of https://git.feal.no/felixalb/nixos-config.git synced 2026-04-15 19:40:45 +02:00

morn: add swapfile

This commit is contained in:
2026-04-08 22:17:03 +02:00
parent 41ed408c23
commit 92f7943221

View File

@@ -24,7 +24,10 @@
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ];
swapDevices = [ {
device = "/swapfile";
size = 4*1024;
} ];
# 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