From dd18277bc277c8a9fa58ee2da347942af890cb78 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 9 Jul 2026 15:13:14 -0700 Subject: [PATCH] tailscale: advertise configured hostname --- nixos/tailscale.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/tailscale.nix b/nixos/tailscale.nix index 3141c12f..f00421f1 100644 --- a/nixos/tailscale.nix +++ b/nixos/tailscale.nix @@ -66,6 +66,7 @@ makeEnable config "myModules.tailscale" true { if ! ${pkgs.tailscale}/bin/tailscale up \ --auth-key "file:$key_file" \ --accept-dns=true \ + --hostname=${lib.escapeShellArg config.networking.hostName} \ --operator=imalison \ --timeout=60s; then echo "tailscale-autoconnect: tailscale up failed; leaving manual login required" >&2