add swap to rainbow

This commit is contained in:
lelgenio 2022-10-26 15:01:55 -03:00
parent 3a70162fcb
commit 95efe2cd37

View file

@ -38,7 +38,10 @@
options = [ "subvol=@swap" ];
};
swapDevices = [ ];
swapDevices = [{
device = "/swap/swapfile";
size = (1024 * 4); # RAM size + 2 GB
}];
# 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