home-manager(vscode): use OSS vscodium
This commit is contained in:
parent
8c32db3406
commit
1473690540
1 changed files with 19 additions and 11 deletions
|
@ -1,14 +1,17 @@
|
||||||
{pkgs, ...}: let
|
{ pkgs, nodeFlake, ... }:
|
||||||
marketPlaceExtensions =
|
{
|
||||||
pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
|
||||||
];
|
|
||||||
in {
|
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# package = pkgs.vscodium;
|
package = pkgs.vscodium;
|
||||||
extensions = with pkgs.vscode-extensions;
|
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
|
bbenoist.nix
|
||||||
eamodio.gitlens
|
eamodio.gitlens
|
||||||
mkhl.direnv
|
mkhl.direnv
|
||||||
|
@ -16,17 +19,22 @@ in {
|
||||||
tomoki1207.pdf
|
tomoki1207.pdf
|
||||||
vscodevim.vim
|
vscodevim.vim
|
||||||
|
|
||||||
|
ms-vscode.theme-tomorrowkit
|
||||||
|
nonylene.dark-molokai-theme
|
||||||
|
|
||||||
# TODO: these are not in nixpkgs
|
# TODO: these are not in nixpkgs
|
||||||
# fredwangwang.vscode-hcl-format
|
# fredwangwang.vscode-hcl-format
|
||||||
# hashicorp.hcl
|
# hashicorp.hcl
|
||||||
# mindaro-dev.file-downloader
|
# mindaro-dev.file-downloader
|
||||||
# ms-vscode.remote-explorer
|
# ms-vscode.remote-explorer
|
||||||
]
|
|
||||||
++ marketPlaceExtensions;
|
# TODO: not compatible with vscodium
|
||||||
|
# ms-vscode-remote.remote-ssh
|
||||||
|
]);
|
||||||
mutableExtensionsDir = true;
|
mutableExtensionsDir = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = [pkgs.nixpkgs-fmt pkgs.alejandra];
|
home.packages = [ pkgs.nixpkgs-fmt pkgs.alejandra ];
|
||||||
}
|
}
|
||||||
# TODO: automate
|
# TODO: automate
|
||||||
### original list:
|
### original list:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue