add astro extension
Some checks failed
Build / nix-build (native-x86_64, telperion) (push) Waiting to run
Build / Nix Build Successful (push) Blocked by required conditions
Build / nix-build (native-aarch64, varda) (push) Successful in 1m47s
Build / nix-build (native-x86_64, gandalf) (push) Successful in 2m25s
Build / nix-build (native-x86_64, telchar) (push) Has been cancelled

This commit is contained in:
Joseph Hanson 2024-08-24 09:12:55 -05:00
parent f36cce2196
commit 66451254f9
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -4,18 +4,19 @@ let
cfg = config.mySystem.editor.vscode; cfg = config.mySystem.editor.vscode;
# VSCode Community Extensions. These are updated daily. # VSCode Community Extensions. These are updated daily.
vscodeCommunityExtensions = [ vscodeCommunityExtensions = [
"ahmadalli.vscode-nginx-conf"
"dracula-theme.theme-dracula" "dracula-theme.theme-dracula"
"editorconfig.editorconfig" "editorconfig.editorconfig"
"esbenp.prettier-vscode" "esbenp.prettier-vscode"
"foxundermoon.shell-format"
"github.copilot" "github.copilot"
# "github.copilot-chat"
"jnoortheen.nix-ide" "jnoortheen.nix-ide"
"mikestead.dotenv" "mikestead.dotenv"
"mrmlnc.vscode-json5" "mrmlnc.vscode-json5"
"ms-azuretools.vscode-docker" "ms-azuretools.vscode-docker"
# Python extensions *required* for redhat.ansible/vscode-yaml "ms-python.python" # Python extensions *required* for redhat.ansible/vscode-yaml
"ms-python.python"
"ms-python.vscode-pylance" "ms-python.vscode-pylance"
"ms-vscode-remote.remote-ssh-edit"
"pkief.material-icon-theme" "pkief.material-icon-theme"
"redhat.ansible" "redhat.ansible"
"redhat.vscode-yaml" "redhat.vscode-yaml"
@ -23,15 +24,13 @@ let
"tamasfe.even-better-toml" "tamasfe.even-better-toml"
"tyriar.sort-lines" "tyriar.sort-lines"
"yzhang.markdown-all-in-one" "yzhang.markdown-all-in-one"
"foxundermoon.shell-format" "astro-build.astro-vscode"
"ahmadalli.vscode-nginx-conf" # "github.copilot-chat"
]; ];
# Nixpkgs Extensions. These are updated whenver they get around to it. # Nixpkgs Extensions. These are updated whenver they get around to it.
vscodeNixpkgsExtensions = [ vscodeNixpkgsExtensions = [
# Continue ships with a binary that requires the patchelf fix which is done by default in nixpkgs. # Continue ships with a binary that requires the patchelf fix which is done by default in nixpkgs.
"continue.continue" "continue.continue"
"ms-vscode-remote.remote-ssh"
"ms-vscode-remote.remote-ssh-edit"
]; ];
# Straight from the VSCode marketplace. # Straight from the VSCode marketplace.
marketplaceExtensions = [ marketplaceExtensions = [
@ -41,13 +40,21 @@ let
# version = "1.219.0"; # version = "1.219.0";
# sha256 = "Y/l59JsmAKtENhBBf965brSwSkTjSOEuxc3tlWI88sY="; # sha256 = "Y/l59JsmAKtENhBBf965brSwSkTjSOEuxc3tlWI88sY=";
# } # }
{ # Apparently there's no insiders build for copilot-chat so the latest isn't what we want. {
# Apparently there's no insiders build for copilot-chat so the latest isn't what we want.
# The latest generally targets insiders build of vs code right now and it won't load on stable. # The latest generally targets insiders build of vs code right now and it won't load on stable.
name = "copilot-chat"; name = "copilot-chat";
publisher = "github"; publisher = "github";
version = "0.18.2"; version = "0.18.2";
sha256 = "sha256-cku6FV88jMwWoxSiMAufZy00H9Wc1XnJJDBrfWAwXPg="; sha256 = "sha256-cku6FV88jMwWoxSiMAufZy00H9Wc1XnJJDBrfWAwXPg=";
} }
{
name = "remote-ssh";
publisher = "ms-vscode-remote";
version = "0.113.1";
sha256 = "sha256-/tyyjf3fquUmjdEX7Gyt3MChzn1qMbijyej8Lskt6So=";
}
]; ];
# Extract extension strings and coerce them to a list of valid attribute paths. # Extract extension strings and coerce them to a list of valid attribute paths.
vscodeCommunityExtensionsPackages = map (ext: getAttrFromPath (splitString "." ext) pkgs.vscode-marketplace) vscodeCommunityExtensions; vscodeCommunityExtensionsPackages = map (ext: getAttrFromPath (splitString "." ext) pkgs.vscode-marketplace) vscodeCommunityExtensions;