add pam ulimit config
This commit is contained in:
parent
9caba70a4e
commit
fecb385fe7
1 changed files with 10 additions and 0 deletions
|
@ -129,6 +129,16 @@
|
|||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
# PAM modules
|
||||
security.pam = {
|
||||
loginLimits = [{
|
||||
domain = "*";
|
||||
type = "soft";
|
||||
item = "nofile";
|
||||
value = 8192;
|
||||
}];
|
||||
};
|
||||
|
||||
# List services that you want to enable:
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
|
|
Loading…
Add table
Reference in a new issue