mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
17 lines
342 B
Nix
17 lines
342 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];
|
||
|
};
|
||
|
};
|
||
|
}
|