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