Skip to content

Commit

Permalink
fix: increase ulimit for files
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgon committed Dec 19, 2024
1 parent 7ed12fe commit 9893565
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/system/core.nix
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,16 @@

environment.enableAllTerminfo = true;

# more file descriptors
security.pam.loginLimits = [
{
domain = "*";
item = "nofile";
type = "-";
value = "4096";
}
];

services = {
udev.extraRules = config.mySystem.extraUdevRules;

Expand Down

0 comments on commit 9893565

Please sign in to comment.