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:
parent
484a4b2a4e
commit
17cb144b5d
|
@ -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;
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue