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"; + }; }