nixos-configuration/hosts/vinzenz-pc2/vscode-server.nix
2024-10-27 12:33:35 +01:00

28 lines
414 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
];
};
};
}