summaryrefslogtreecommitdiff
path: root/nixos/parts/tailscale.nix
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-12-18 08:58:08 +0100
committerMartin Fischer <martin@push-f.com>2024-12-18 09:26:11 +0100
commitd2a7379876196b64fe345f47db2ab91d5315857d (patch)
treee262c7e3ca3db7944a304d51320fa6540290f8af /nixos/parts/tailscale.nix
parente7990ebbba8c9b903687c177588b45e9294f8d11 (diff)
refactor: introduce domains.nix
Diffstat (limited to 'nixos/parts/tailscale.nix')
-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";