nixos-configuration/hosts/vinzenz-pc2/vscode-server.nix
2025-05-18 10:10:13 +02:00

29 lines
410 B
Nix

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