Add openvscode to queen
This commit is contained in:
parent
808ab9fea5
commit
358c68416a
24
nixos/server/package-configs/vscode-server/configuration.nix
Normal file
24
nixos/server/package-configs/vscode-server/configuration.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.openvscode = {
|
||||
enable = true;
|
||||
port = 7773;
|
||||
telemetryLevel = "off";
|
||||
withoutConnectionToken = true;
|
||||
};
|
||||
services.nginx = {
|
||||
virtualHosts = {
|
||||
"code.lillianviolet.dev" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:7773";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue