home-manager(vscode): use OSS vscodium
This commit is contained in:
parent
f243e0c2dc
commit
a384026025
1 changed files with 19 additions and 11 deletions
|
@ -1,14 +1,17 @@
|
|||
{pkgs, ...}: let
|
||||
marketPlaceExtensions =
|
||||
pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||
];
|
||||
in {
|
||||
{ pkgs, nodeFlake, ... }:
|
||||
{
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
# package = pkgs.vscodium;
|
||||
extensions = with pkgs.vscode-extensions;
|
||||
package = pkgs.vscodium;
|
||||
extensions = [
|
||||
# TODO: how can i install (this) vsix(s) directly?
|
||||
# (builtins.fetchurl {
|
||||
# # https://open-vsx.org/extension/jeanp413/open-remote-ssh
|
||||
# url = "https://open-vsx.org/api/jeanp413/open-remote-ssh/0.0.45/file/jeanp413.open-remote-ssh-0.0.45.vsix";
|
||||
# sha256 = "1qc1qsahfx1nvznq4adplx63w5d94xhafngv76vnqjjbzhv991v2";
|
||||
# })
|
||||
] ++ (with pkgs.vscode-extensions;
|
||||
[
|
||||
ms-vscode-remote.remote-ssh
|
||||
bbenoist.nix
|
||||
eamodio.gitlens
|
||||
mkhl.direnv
|
||||
|
@ -16,13 +19,18 @@ in {
|
|||
tomoki1207.pdf
|
||||
vscodevim.vim
|
||||
|
||||
ms-vscode.theme-tomorrowkit
|
||||
nonylene.dark-molokai-theme
|
||||
|
||||
# TODO: these are not in nixpkgs
|
||||
# fredwangwang.vscode-hcl-format
|
||||
# hashicorp.hcl
|
||||
# mindaro-dev.file-downloader
|
||||
# ms-vscode.remote-explorer
|
||||
]
|
||||
++ marketPlaceExtensions;
|
||||
|
||||
# TODO: not compatible with vscodium
|
||||
# ms-vscode-remote.remote-ssh
|
||||
]);
|
||||
mutableExtensionsDir = true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue