Skip to content

Commit

Permalink
feat: support for Bazel in VS Code and enabled in glass
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarrio committed Oct 21, 2024
1 parent 3bcf9f5 commit 2b4aa69
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion nixos/modules/desktop/vscode.nix
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ in
default = false;
description = "Whether to enable VS Code support for AI tooling";
};
bazel = mkOption {
type = types.bool;
default = false;
description = "Whether to enable VS Code support for Bazel";
};
cpp = mkOption {
type = types.bool;
default = true;
Expand Down Expand Up @@ -239,7 +244,8 @@ in
inherit (trunk) vscode;
vscodeExtensions = with vscode-extensions;
# globally enabled extensions
lib.optionals cfgx.support.cpp [ ms-vscode.cpptools ]
lib.optionals cfgx.support.bazel [ bazelbuild.vscode-bazel ]
++ lib.optionals cfgx.support.cpp [ ms-vscode.cpptools ]
++ lib.optionals cfgx.support.deno [ denoland.vscode-deno ]
++ lib.optionals cfgx.support.diff [ ryu1kn.partial-diff ]
++ lib.optionals cfgx.support.docker [ ms-azuretools.vscode-docker ]
Expand Down
1 change: 1 addition & 0 deletions nixos/workstation/glass/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
vscode = {
enable = true;
support = {
bazel = true;
elm = true;
github = true;
gitlens = true;
Expand Down

0 comments on commit 2b4aa69

Please sign in to comment.