From 1d0bd6365d69f5899cab6d3168a7b02e974fe2c1 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Tue, 2 Jun 2015 12:38:56 +0200 Subject: [PATCH] set `ulimit -n` to 4096. --- common.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common.nix b/common.nix index 7c60bb2..1c81a2e 100644 --- a/common.nix +++ b/common.nix @@ -110,6 +110,11 @@ # IntelliJ boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288; + # gapt: `ulimit -n` was 256 + security.pam.loginLimits = [ + { domain = "*"; type = "-"; item = "nofile"; value = "4096"; } + ]; + fileSystems."/mnt/vaccaria" = { device = "//vaccaria.mtlaa.gebner.org/export"; fsType = "cifs";