mirror of
https://github.com/nix-community/home-manager
synced 2024-11-19 01:29:46 +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
4740f2ccda
commit
a28b12d741
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