NixOS-Config/nixos/server/package-configs/vscode-server/configuration.nix

25 lines
404 B
Nix
Raw Normal View History

2024-01-09 15:48:49 +01:00
{
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";
};
};
};
};
}