nixos-configuration/hosts/vinzenz-pc2/vscode-server.nix
Vinzenz Schroeter 4aa418f562 code domain
2025-05-01 15:14:32 +02:00

29 lines
427 B
Nix

{ pkgs, ... }:
{
services.openvscode-server = {
enable = true;
telemetryLevel = "off";
port = 8542;
host = "100.125.93.127"; # tailscale
withoutConnectionToken = true;
extraPackages = with pkgs; [
nodejs
git
gh
direnv
];
};
networking = {
firewall = {
allowedTCPPorts = [
8542
8543
8544
80
1313
];
};
};
}