From d2a7379876196b64fe345f47db2ab91d5315857d Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Wed, 18 Dec 2024 08:58:08 +0100 Subject: refactor: introduce domains.nix --- nixos/parts/tailscale.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nixos/parts') diff --git a/nixos/parts/tailscale.nix b/nixos/parts/tailscale.nix index bce1564..1cb6dcf 100644 --- a/nixos/parts/tailscale.nix +++ b/nixos/parts/tailscale.nix @@ -1,10 +1,13 @@ +let + domains = import ../domains.nix; +in { config, pkgs, ... }: { services.tailscale = { enable = true; extraUpFlags = [ - "--login-server=https://headscale.push-f.com/" + "--login-server=https://${domains.tailscaleControlServer}/" ]; # Only needed during activation. # authKeyFile = "/tmp/key-file"; -- cgit v1.2.3