diff --git a/modules/system/core.nix b/modules/system/core.nix index 9014780b..ee18bd24 100644 --- a/modules/system/core.nix +++ b/modules/system/core.nix @@ -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;