From eb28936d71d68fb627cbbd299817a7d409a04c51 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 15 Dec 2021 12:08:15 -0500 Subject: [PATCH] vscode inotify --- features/desktopish/vscode.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/features/desktopish/vscode.nix b/features/desktopish/vscode.nix index 6f5cb19..36ea3a6 100644 --- a/features/desktopish/vscode.nix +++ b/features/desktopish/vscode.nix @@ -13,4 +13,9 @@ vscode nodejs-14_x # Need this for https://nixos.wiki/wiki/Vscode server ]; + + # https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc + boot.kernel.sysctl = { + "fs.inotify.max_user_watches" = "524288"; + }; }