diff --git a/rpi4.nix b/rpi4.nix index b8a40a4..efc3cbe 100644 --- a/rpi4.nix +++ b/rpi4.nix @@ -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 ];