feat(void): enable swap

This commit is contained in:
Khaïs COLIN 2025-05-03 14:39:51 +02:00
parent 79fad1496d
commit b12f7b0470

View file

@ -33,7 +33,12 @@
options = ["fmask=0022" "dmask=0022"];
};
swapDevices = [];
swapDevices = [{
device = "/swapfile";
# 16 GB swap
size = 16 * 1024;
}];
zramSwap.enable = true;
# 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