mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-28 00:05:00 +08:00
23 lines
793 B
Nix
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";
|
|
};
|
|
}
|