From 8dfdbf99e637f78e98435eee61649bb7b92e80e5 Mon Sep 17 00:00:00 2001 From: Ivan Dimitrov Date: Mon, 22 Apr 2024 23:11:44 +0300 Subject: [PATCH] fswatch limitations fix --- nixos/laptop/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/laptop/default.nix b/nixos/laptop/default.nix index 615e114..c36a4f8 100644 --- a/nixos/laptop/default.nix +++ b/nixos/laptop/default.nix @@ -20,6 +20,12 @@ }; boot = { + kernel = { + sysctl = { + "fs.inotify.max_user_watches" = 100000; + "fs.inotify.max_queued_events" = 100000; + }; + }; loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true;