inotify stuff for vscode, and update nixpkgs

This commit is contained in:
Sridhar Ratnakumar 2022-03-16 09:41:18 -04:00
parent f29176c190
commit 770a591071
3 changed files with 10 additions and 5 deletions

View file

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

8
flake.lock generated
View file

@ -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"
}
},

View file

@ -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";