summaryrefslogtreecommitdiff
path: root/modules/core/networking/vpn
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-22 14:05:31 -0700
committerFuwn <[email protected]>2024-09-22 14:05:31 -0700
commitfda7e0537d640a3f77a523a69da48f58a7ccc843 (patch)
treeeeff0d784f08c745061684ecf10865adcc391775 /modules/core/networking/vpn
parenttailscale: optimise subnet routers and exit nodes (diff)
downloadnixos-config-fda7e0537d640a3f77a523a69da48f58a7ccc843.tar.xz
nixos-config-fda7e0537d640a3f77a523a69da48f58a7ccc843.zip
tailscale: authenticate on all systems
Diffstat (limited to 'modules/core/networking/vpn')
-rw-r--r--modules/core/networking/vpn/tailscale.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/core/networking/vpn/tailscale.nix b/modules/core/networking/vpn/tailscale.nix
index 06c5b50..0228915 100644
--- a/modules/core/networking/vpn/tailscale.nix
+++ b/modules/core/networking/vpn/tailscale.nix
@@ -17,6 +17,7 @@
tailscale = {
enable = true;
useRoutingFeatures = "both";
+ authKeyFile = config.sops.secrets.tailscale_authentication_key.path;
};
networkd-dispatcher = {