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 GitHub
parent 4740f2ccda
commit a28b12d741
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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