diff --git a/hosts/template2/configuration.nix b/hosts/template2/configuration.nix index be8e80d..ea7def3 100644 --- a/hosts/template2/configuration.nix +++ b/hosts/template2/configuration.nix @@ -79,5 +79,8 @@ # Or disable the firewall altogether. networking.firewall.enable = false; + # Compressed swap in RAM - prevents OOM during bootstrap nixos-rebuild + zramSwap.enable = true; + system.stateVersion = "25.11"; }