summaryrefslogtreecommitdiff
path: root/nixos/parts
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/parts')
-rw-r--r--nixos/parts/tailscale.nix5
1 files changed, 4 insertions, 1 deletions
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";