homelab/nixos/shared/tailscale.nix

15 lines
281 B
Nix
Raw Normal View History

2025-05-22 18:50:50 +00:00
{ config, pkgs, ... }:
{
services.tailscale = {
enable = true;
openFirewall = true;
2025-05-22 20:24:20 +00:00
authKeyFile = config.sops.secrets."tailscale/preauthkeys/poseidon".path;
2025-05-22 18:50:50 +00:00
extraUpFlags =
[ "--login-server=https://headscale.polsevev.dev" "--accept-dns=false" ];
};
}
2025-05-22 20:24:20 +00:00