feat(rpi4): enable zram

This commit is contained in:
Felix Schröter 2022-05-11 19:55:45 +02:00
parent b57b2293ca
commit 90a0f126cf
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -51,6 +51,10 @@ in with builtins; {
'';
boot.kernelParams = [ "console=ttyAMA0,115200" "console=tty1" ];
# improve memory performance
zramSwap.enable = true;
zramSwap.algorithm = "zstd";
networking.domain = "home.felschr.com";
networking.firewall.allowedTCPPorts = [ 80 443 ];