diff --git a/features/server/devserver.nix b/features/server/devserver.nix index 2b979cd..bca396f 100644 --- a/features/server/devserver.nix +++ b/features/server/devserver.nix @@ -8,4 +8,9 @@ wget ]; services.auto-fix-vscode-server.enable = true; + + # 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"; + }; } diff --git a/flake.lock b/flake.lock index 23b4cc9..f268d79 100644 --- a/flake.lock +++ b/flake.lock @@ -876,17 +876,17 @@ }, "nixpkgs_14": { "locked": { - "lastModified": 1646470760, - "narHash": "sha256-dQISyucVCCPaFioUhy5ZgfBz8rOMKGI8k13aPDFTqEs=", + "lastModified": 1646939531, + "narHash": "sha256-bxOjVqcsccCNm+jSmEh/bm0tqfE3SdjwS+p+FZja3ho=", "owner": "nixos", "repo": "nixpkgs", - "rev": "1fc7212a2c3992eedc6eedf498955c321ad81cc2", + "rev": "fcd48a5a0693f016a5c370460d0c2a8243b882dc", "type": "github" }, "original": { "owner": "nixos", "repo": "nixpkgs", - "rev": "1fc7212a2c3992eedc6eedf498955c321ad81cc2", + "rev": "fcd48a5a0693f016a5c370460d0c2a8243b882dc", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 9d2c696..5ea4aa0 100644 --- a/flake.nix +++ b/flake.nix @@ -6,7 +6,7 @@ # https://status.nixos.org/ # # This ensures that we always use the official nix cache. - nixpkgs.url = "github:nixos/nixpkgs/1fc7212a2c3992eedc6eedf498955c321ad81cc2"; + nixpkgs.url = "github:nixos/nixpkgs/fcd48a5a0693f016a5c370460d0c2a8243b882dc"; darwin.url = "github:lnl7/nix-darwin/master"; darwin.inputs.nixpkgs.follows = "nixpkgs";