feat(system): add zram swap
This commit is contained in:
parent
041ce07092
commit
730683518c
3 changed files with 9 additions and 6 deletions
|
@ -39,11 +39,6 @@ in with builtins; {
|
|||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# improve memory performance
|
||||
zramSwap.enable = true;
|
||||
zramSwap.algorithm = "zstd";
|
||||
zramSwap.memoryPercent = 150;
|
||||
|
||||
networking.domain = "home.felschr.com";
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue