oscar: Manage vscodium extensions with nix

This commit is contained in:
Chandler Swift 2024-12-27 19:22:14 -06:00
parent 8ff8cd5424
commit f05ca666ed
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -202,9 +202,32 @@
];
};
programs.vscode = {
programs.vscode = let
extensionrepo =
(import (builtins.fetchGit {
url = "https://github.com/nix-community/nix-vscode-extensions";
ref = "refs/heads/master";
})).extensions.${builtins.currentSystem};
in {
enable = true;
package = pkgs.vscodium;
mutableExtensionsDir = false;
extensions = with extensionrepo.open-vsx; [ # TODO: -release ?
eamodio.gitlens
editorconfig.editorconfig
golang.go
jeandeaual.lilypond-syntax
jeandeaual.scheme
jeanp413.open-remote-ssh
jnoortheen.nix-ide
llvm-vs-code-extensions.vscode-clangd
ms-azuretools.vscode-docker
ms-python.debugpy
ms-python.python
rust-lang.rust-analyzer
stkb.rewrap
xaver.clang-format
];
userSettings = {
"files.autoSave" = "afterDelay";
"editor.renderWhitespace" = "boundary";