nix-conf/modules/home-manager/vscode/default.nix
2024-04-11 18:16:41 +05:30

30 lines
593 B
Nix

{
config,
lib,
pkgs,
...
}: {
options = {
vscode.enable = lib.mkEnableOption "enable vscode";
};
config = lib.mkIf config.vscode.enable {
programs.vscode = {
enable = true;
extensions = with pkgs.vscode-extensions; [
arrterian.nix-env-selector
mkhl.direnv
jnoortheen.nix-ide
xaver.clang-format
llvm-vs-code-extensions.vscode-clangd
vadimcn.vscode-lldb
# ms-vscode.cpptools
colejcummins.llvm-syntax-highlighting
rust-lang.rust-analyzer
waderyan.gitblame
];
};
};
}