feat(rpi4): enable zram
This commit is contained in:
parent
b57b2293ca
commit
90a0f126cf
4
rpi4.nix
4
rpi4.nix
|
@ -51,6 +51,10 @@ in with builtins; {
|
||||||
'';
|
'';
|
||||||
boot.kernelParams = [ "console=ttyAMA0,115200" "console=tty1" ];
|
boot.kernelParams = [ "console=ttyAMA0,115200" "console=tty1" ];
|
||||||
|
|
||||||
|
# improve memory performance
|
||||||
|
zramSwap.enable = true;
|
||||||
|
zramSwap.algorithm = "zstd";
|
||||||
|
|
||||||
networking.domain = "home.felschr.com";
|
networking.domain = "home.felschr.com";
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
|
|
Loading…
Reference in a new issue