-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use nix4vscode to use version compatable extensions
- Loading branch information
Showing
6 changed files
with
442 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Update VSCode Extensions | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * */3" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/setup-nix | ||
with: | ||
arch: x86_64-linux | ||
|
||
- run: | | ||
DIR="modules/purpose/development/vscode" | ||
CONFIG="$DIR/config.toml" | ||
NIX_FILE="$DIR/extensions.nix" | ||
VSCODE_VERSION=$(nix eval --raw nixpkgs#vscode.version) | ||
sed -i "s/vscode_version = \".*\"/vscode_version = \"$VSCODE_VERSION\"/" modules/purpose/development/vscode/config.toml | ||
nix run github:nix-community/nix4vscode -- "$CONFIG" -o "$NIX_FILE" | ||
- uses: EndBug/add-and-commit@v9 | ||
with: | ||
message: "chore(deps): Update VSCode extensions" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
133 changes: 133 additions & 0 deletions
133
modules/home-manager/purpose/development/vscode/config.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
vscode_version = "1.95.3" | ||
|
||
[[extensions]] | ||
publisher_name = "alefragnani" | ||
extension_name = "project-manager" | ||
|
||
[[extensions]] | ||
publisher_name = "bierner" | ||
extension_name = "markdown-preview-github-styles" | ||
|
||
[[extensions]] | ||
publisher_name = "coolbear" | ||
extension_name = "systemd-unit-file" | ||
|
||
[[extensions]] | ||
publisher_name = "dustypomerleau" | ||
extension_name = "rust-syntax" | ||
|
||
[[extensions]] | ||
publisher_name = "eamodio" | ||
extension_name = "gitlens" | ||
|
||
[[extensions]] | ||
publisher_name = "editorconfig" | ||
extension_name = "editorconfig" | ||
|
||
[[extensions]] | ||
publisher_name = "esbenp" | ||
extension_name = "prettier-vscode" | ||
|
||
[[extensions]] | ||
publisher_name = "fill-labs" | ||
extension_name = "dependi" | ||
|
||
[[extensions]] | ||
publisher_name = "formulahendry" | ||
extension_name = "code-runner" | ||
|
||
[[extensions]] | ||
publisher_name = "foxundermoon" | ||
extension_name = "shell-format" | ||
|
||
[[extensions]] | ||
publisher_name = "github" | ||
extension_name = "copilot" | ||
|
||
[[extensions]] | ||
publisher_name = "github" | ||
extension_name = "copilot-chat" | ||
|
||
[[extensions]] | ||
publisher_name = "github" | ||
extension_name = "vscode-github-actions" | ||
|
||
[[extensions]] | ||
publisher_name = "github" | ||
extension_name = "vscode-pull-request-github" | ||
|
||
[[extensions]] | ||
publisher_name = "gruntfuggly" | ||
extension_name = "todo-tree" | ||
|
||
[[extensions]] | ||
publisher_name = "hashicorp" | ||
extension_name = "terraform" | ||
|
||
[[extensions]] | ||
publisher_name = "jnoortheen" | ||
extension_name = "nix-ide" | ||
|
||
[[extensions]] | ||
publisher_name = "jscearcy" | ||
extension_name = "rust-doc-viewer" | ||
|
||
[[extensions]] | ||
publisher_name = "matthewpi" | ||
extension_name = "caddyfile-support" | ||
|
||
[[extensions]] | ||
publisher_name = "mkhl" | ||
extension_name = "direnv" | ||
|
||
[[extensions]] | ||
publisher_name = "ms-azuretools" | ||
extension_name = "vscode-docker" | ||
|
||
[[extensions]] | ||
publisher_name = "ms-vscode-remote" | ||
extension_name = "remote-ssh" | ||
|
||
[[extensions]] | ||
publisher_name = "ms-vscode" | ||
extension_name = "powershell" | ||
|
||
[[extensions]] | ||
publisher_name = "pkief" | ||
extension_name = "material-icon-theme" | ||
|
||
[[extensions]] | ||
publisher_name = "redhat" | ||
extension_name = "vscode-xml" | ||
|
||
[[extensions]] | ||
publisher_name = "redhat" | ||
extension_name = "vscode-yaml" | ||
|
||
[[extensions]] | ||
publisher_name = "rogalmic" | ||
extension_name = "bash-debug" | ||
|
||
[[extensions]] | ||
publisher_name = "ruschaaf" | ||
extension_name = "extended-embedded-languages" | ||
|
||
[[extensions]] | ||
publisher_name = "rust-lang" | ||
extension_name = "rust-analyzer" | ||
|
||
[[extensions]] | ||
publisher_name = "stylix" | ||
extension_name = "stylix" | ||
|
||
[[extensions]] | ||
publisher_name = "tamasfe" | ||
extension_name = "even-better-toml" | ||
|
||
[[extensions]] | ||
publisher_name = "vadimcn" | ||
extension_name = "vscode-lldb" | ||
|
||
[[extensions]] | ||
extension_name = "material-theme" | ||
publisher_name = "zhuangtongfa" |
Oops, something went wrong.