nixos-configuration/hosts/vinzenz-pc2/vscode-server.nix

28 lines
414 B
Nix
Raw Permalink Normal View History

2024-10-27 12:33:35 +01:00
{ pkgs, ... }:
{
2024-10-26 18:15:50 +02:00
services.openvscode-server = {
enable = true;
telemetryLevel = "off";
port = 8542;
host = "100.125.93.127"; # tailscale
withoutConnectionToken = true;
2024-10-27 12:33:35 +01:00
extraPackages = with pkgs; [
nodejs
git
gh
direnv
];
2024-10-26 18:15:50 +02:00
};
networking = {
firewall = {
2024-10-27 12:33:35 +01:00
allowedTCPPorts = [
8542
8543
8544
80
];
2024-10-26 18:15:50 +02:00
};
};
}