Switch to actively-enabled swap.

I've already had some crashes while rebuilding the system due to
auto-of-memory errors.
This commit is contained in:
Eli Ribble 2025-04-11 15:45:42 -07:00
parent 484a4b2a4e
commit 17cb144b5d
1 changed files with 1 additions and 1 deletions

View File

@ -107,6 +107,7 @@
settings.KbdInteractiveAuthentication = false;
settings.PermitRootLogin = "no";
};
services.swapspace.enable = true;
# Set your time zone.
@ -133,7 +134,6 @@
openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBvhtF6nRWlA6PVs71Eek7p0p2PxTd3P6ZEGFV2t75MB eliribble@nixos"];
};
users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBvhtF6nRWlA6PVs71Eek7p0p2PxTd3P6ZEGFV2t75MB eliribble@nixos'' ];
zramSwap.enable = true;