From b8b1fd578a3f751ecdd1267184c7c5dad68ac474 Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 8 May 2024 19:21:23 +0900 Subject: [PATCH] update rdesktop tailscale --- nixos/containers/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/containers/default.nix b/nixos/containers/default.nix index 3312ee7e..6781808a 100644 --- a/nixos/containers/default.nix +++ b/nixos/containers/default.nix @@ -41,6 +41,7 @@ services.tailscale = { enable = true; + authKeyFile = "/run/secrets/tailscale_key"; interfaceName = "tailscale0"; extraUpFlags = [ "--login-server=https://headscale.sysctl.io" @@ -48,6 +49,7 @@ "--accept-routes" ]; }; + networking.firewall.interfaces.tailscale0.allowedTCPPorts = [ 22 ]; networking.firewall.checkReversePath = "loose"; networking.extraHosts = ''