n/tailscale: add auth token

This commit is contained in:
41666 2023-12-17 15:26:05 -05:00
parent abce2a8ea0
commit 66efc3af7b
2 changed files with 8 additions and 3 deletions

View file

@ -1,5 +1,8 @@
{ ... }: {
{ config, ... }: {
sops.secrets.tailscale_auth_key = {};
services.tailscale = {
enable = true;
authKeyFile = config.sops.secrets.tailscale_auth_key.path;
};
}