This repository has been archived on 2026-09-17. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
nixos-config/hosts/pinix/localServices/tailscale.nix
2026-09-14 16:52:53 +02:00

18 lines
908 B
Nix

{ config, lib, pkgs, ... }:
{
services.tailscale = {
enable = true;
authKeyFile = config.age.secrets.pinixHeadscalePreAuthKey.path;
# The host node joins the pinix Headscale as the human user `lukas`.
# The separate tailscaled-pinix service in tailnet-dns.nix remains the
# technical `pinix-dns` node for DNS and the git entrypoint.
# `--accept-dns=false`: pinix hängt am IPv6-only Uplink (Nokia-Tethering,
# seit der Router-Migration docs/pinix-router-migration.md) und braucht
# dessen eigenen DNS64-Resolver (router-uplink.nix, pinix-router-dns).
# MagicDNS würde AdGuard auf blunix befragen, das echte A-Records ohne
# DNS64-Synthese liefert -- von hier aus nicht routbar. Ersatz für die
# Namen ist networking.hosts in ../configuration.nix.
extraUpFlags = [ "--login-server=https://head.${config.domain2}" "--accept-dns=false" "--reset" ];
};
}