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:
parent
2752c42035
commit
475c8e948c
1 changed files with 2 additions and 0 deletions
|
@ -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