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:
parent
4740f2ccda
commit
a28b12d741
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue