ZSwap/ZRam

This commit is contained in:
Aleksandr Lebedev 2025-03-19 22:50:39 +01:00
parent 8e04335e92
commit 7ce4f8e15f
4 changed files with 23 additions and 1 deletions

View file

@ -40,7 +40,12 @@
#options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];
swapDevices = [
{
device = "/persist/swapfile";
size = 16*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