From 29adc840a64df9f7e125d8f221de8536a1cc176e Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Fri, 30 Jun 2023 22:25:25 -0400 Subject: [PATCH] increase inotify limits --- modules/baseline.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/baseline.nix b/modules/baseline.nix index 191ba8a..18c2228 100644 --- a/modules/baseline.nix +++ b/modules/baseline.nix @@ -11,6 +11,10 @@ boot = { zfs.forceImportRoot = false; initrd.availableKernelModules = [ "nvme" ]; + kernel.sysctl = { + "fs.inotify.max_user_instances" = 65536; + "fs.inotify.max_user_watches" = 1048576; + }; kernelParams = [ "amdgpu.gpu_recovery=1" "nohibernate"