tailscale
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{ config, ... }:
|
||||
|
||||
# DERP is a relay system that Tailscale uses when a direct connection cannot be established.
|
||||
# https://tailscale.com/blog/how-tailscale-works/#encrypted-tcp-relays-derp
|
||||
|
||||
{
|
||||
# https://login.tailscale.com/admin/machines
|
||||
|
||||
services.tailscale.enable = true;
|
||||
# https://tailscale.com/kb/1085/auth-keys
|
||||
services.tailscale.authKeyFile = config.sops.secrets.tailscale-authkey.path; # also enables autoconnect
|
||||
sops.secrets.tailscale-authkey = {};
|
||||
}
|
||||
Reference in New Issue
Block a user