limits
This commit is contained in:
parent
cbad100692
commit
cb4e16ddff
|
@ -18,11 +18,14 @@ with lib;
|
||||||
# Other
|
# Other
|
||||||
vim git rsync tmux
|
vim git rsync tmux
|
||||||
];
|
];
|
||||||
|
security.pam.loginLimits = [
|
||||||
|
# Prevent accidental fork bombs.
|
||||||
|
{ domain = "*"; item = "nproc"; type = "hard"; value = "10"; }
|
||||||
|
];
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
passwordAuthentication = false;
|
passwordAuthentication = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.extraUsers.user = {
|
users.extraUsers.user = {
|
||||||
name = "tlevine";
|
name = "tlevine";
|
||||||
group = "users";
|
group = "users";
|
||||||
|
|
Loading…
Reference in New Issue