microserver.parents: enable zram #211

Merged
JakeHillion merged 1 commits from zram into main 2024-04-05 11:13:50 +01:00

View File

@ -27,6 +27,13 @@
"net.ipv4.ip_forward" = true;
};
## Enable ZRAM to make up for 2GB of RAM
zramSwap = {
enable = true;
memoryPercent = 200;
algorithm = "zstd";
};
## Run a persistent iperf3 server
services.iperf3.enable = true;
services.iperf3.openFirewall = true;