modify ulimit
This commit is contained in:
@@ -58,6 +58,21 @@ in {
|
||||
}];
|
||||
};
|
||||
|
||||
security.pam.loginLimits = [
|
||||
{
|
||||
domain = "*";
|
||||
type = "soft";
|
||||
item = "nofile";
|
||||
value = "32768";
|
||||
}
|
||||
{
|
||||
domain = "*";
|
||||
type = "hard";
|
||||
item = "nofile";
|
||||
value = "65537";
|
||||
}
|
||||
];
|
||||
|
||||
networking.hostName = "haskell"; # Define your hostname.
|
||||
|
||||
programs.steam.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user