zram and swap

This commit is contained in:
death916 2025-07-11 04:14:18 -07:00
parent 8e77052608
commit c43a82bba8
2 changed files with 103 additions and 0 deletions

View file

@ -20,4 +20,6 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ];
system.stateVersion = "24.11";
zramSwap.enable = true;
swapDevices = [ { device = "/swapfile"; size = 16 * 1024; priority = -1; } ];
}