feat(void): enable swap
This commit is contained in:
parent
79fad1496d
commit
b12f7b0470
1 changed files with 6 additions and 1 deletions
|
|
@ -33,7 +33,12 @@
|
||||||
options = ["fmask=0022" "dmask=0022"];
|
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
|
# 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue