diff --git a/oscar/configuration.nix b/oscar/configuration.nix index bbf7aeb..b0c41e9 100644 --- a/oscar/configuration.nix +++ b/oscar/configuration.nix @@ -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";