oscar: Manage vscodium extensions with nix
This commit is contained in:
parent
8ff8cd5424
commit
f05ca666ed
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue