nixos-config/system/vscode.nix
2025-08-09 12:02:06 -06:00

75 lines
2.1 KiB
Nix
Executable File

{
inputs,
pkgs,
lib,
config,
...
}:
{
environment.systemPackages = with pkgs; [
(vscode-with-extensions.override {
vscodeExtensions =
with vscode-extensions;
[
redhat.vscode-yaml
redhat.ansible
ms-python.python
ms-azuretools.vscode-docker
ms-vscode-remote.remote-ssh
golang.go
ms-vscode.cpptools
ms-vsliveshare.vsliveshare
ms-python.python
vscodevim.vim
enkia.tokyo-night
yzhang.markdown-all-in-one
vscode-icons-team.vscode-icons
ms-vscode-remote.remote-containers
bmewburn.vscode-intelephense-client
jnoortheen.nix-ide
zxh404.vscode-proto3
twxs.cmake
# arrterian.nix-env-selector
# bbenoist.nix
mkhl.direnv
]
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "remote-ssh-edit";
publisher = "ms-vscode-remote";
version = "0.47.2";
sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
}
# {
# name = "sukumo28.wav-preview";
# publisher = "sukumo28";
# version = "2.6.0";
# sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
# }
# {
# name = "vsliveshare";
# publisher = "ms-vsliveshare";
# version = "1.0.5948"; # replace with the latest version
# sha256 = "KOu9zF5l6MTLU8z/l4xBwRl2X3uIE15YgHEZJrKSHGY="; # replace with the calculated hash
# }
{
name = "glassit";
publisher = "s-nlf-fh";
version = "0.2.6";
#sha256 = "lcaomgk91hnjwqaw4i0fagtowr8kwv7zhvgcgkokkuy=";
sha256 = "LcAomgK91hnJWqAW4I0FAgTOwr8Kwv7ZhvGCgkokKuY=";
}
{
name = "vscode-postgres";
publisher = "ckolkman";
version = "1.4.3";
sha256 = "OCy2Nc35vmynoKxoUoTL2qyUoiByTMMPebEjySIZihQ=";
}
];
})
];
}