nixos-config/modules/nixos/linux/gui/desktopish/vscode.nix
2024-09-28 18:01:53 -04:00

23 lines
793 B
Nix

{ pkgs, ... }: {
/* imports = [
flake.inputs.nixos-vscode-server.nixosModules.default
];
services.vscode-server.enable = true;
services.vscode-server.installPath = "~/.vscode-server-insiders";
*/
# https://unix.stackexchange.com/q/659901/14042
services.gnome.gnome-keyring.enable = true;
environment.systemPackages = with pkgs; [
# (vscode-with-extensions.override
# { vscodeExtensions = with vscode-extensions; [ ms-vsliveshare.vsliveshare ]; })
vscode
nodejs-16_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";
};
}