diff --git a/oscar/configuration.nix b/oscar/configuration.nix index 6f6bb61..d9c2f0c 100644 --- a/oscar/configuration.nix +++ b/oscar/configuration.nix @@ -202,6 +202,38 @@ ]; }; + programs.vscode = { + enable = true; + package = pkgs.vscodium; + mutableExtensionsDir = false; + extensions = with pkgs.vscode-extensions; [ + 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"; + "files.insertFinalNewline" = true; + "files.trimFinalNewlines" = true; + "editor.rulers" = [80 120]; + "[git-commit]" = { + "editor.inlineSuggest.enabled" = false; + }; + }; + }; + programs.git = { enable = true; userEmail = "chandler@chandlerswift.com";