1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-26 03:39:47 +01:00

vscode: add openvscode-server

In order to manage the extensions and configs from openvscode-server,
the only additional requirement was some mapping missing between the
name of the package and the default configDir/extensionDir
This commit is contained in:
Rucadi 2024-02-05 07:34:43 +01:00 committed by Mikilio
parent 2752c42035
commit 475c8e948c
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

View file

@ -15,12 +15,14 @@ let
"vscode" = "Code"; "vscode" = "Code";
"vscode-insiders" = "Code - Insiders"; "vscode-insiders" = "Code - Insiders";
"vscodium" = "VSCodium"; "vscodium" = "VSCodium";
"openvscode-server" = "OpenVSCode Server";
}.${vscodePname}; }.${vscodePname};
extensionDir = { extensionDir = {
"vscode" = "vscode"; "vscode" = "vscode";
"vscode-insiders" = "vscode-insiders"; "vscode-insiders" = "vscode-insiders";
"vscodium" = "vscode-oss"; "vscodium" = "vscode-oss";
"openvscode-server" = "openvscode-server";
}.${vscodePname}; }.${vscodePname};
userDir = if pkgs.stdenv.hostPlatform.isDarwin then userDir = if pkgs.stdenv.hostPlatform.isDarwin then