feat(rpi4): enable zram
This commit is contained in:
parent
b57b2293ca
commit
90a0f126cf
1 changed files with 4 additions and 0 deletions
4
rpi4.nix
4
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 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue