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

31 lines
470 B
Nix
Raw 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;
2025-06-01 10:22:07 +02:00
package = pkgs.unstable.openvscode-server;
2024-10-26 18:15:50 +02:00
telemetryLevel = "off";
port = 8542;
2025-05-18 10:05:23 +02:00
host = "127.0.0.1";
2024-10-26 18:15:50 +02:00
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
2025-05-01 15:14:32 +02:00
1313
2025-07-29 18:01:54 +02:00
5201
2024-10-27 12:33:35 +01:00
];
2024-10-26 18:15:50 +02:00
};
};
}