This commit is contained in:
Thomas Levine 2016-04-11 17:53:31 +00:00
parent cbad100692
commit cb4e16ddff
1 changed files with 4 additions and 1 deletions

View File

@ -18,11 +18,14 @@ with lib;
# Other
vim git rsync tmux
];
security.pam.loginLimits = [
# Prevent accidental fork bombs.
{ domain = "*"; item = "nproc"; type = "hard"; value = "10"; }
];
services.openssh = {
enable = true;
passwordAuthentication = false;
};
users.extraUsers.user = {
name = "tlevine";
group = "users";