enable swap

This commit is contained in:
♥ Minnie ♥ 2023-06-01 23:01:44 +08:00
parent 2a56863919
commit 71be9bb01b

View file

@ -23,7 +23,10 @@
fsType = "ext4"; fsType = "ext4";
}; };
swapDevices = [ ]; swapDevices = [{
device = "/var/lib/swapfile";
size = 2048;
}];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # 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 # (the default) this is the recommended approach. When using systemd-networkd it's