feat(networking): use client-id and client-secret for tailscale auth
This commit is contained in:
parent
c3acffe2bc
commit
2b97ee96ca
3 changed files with 9 additions and 5 deletions
|
@ -17,7 +17,8 @@ in
|
|||
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
authKeyFile = config.sops.secrets."keys/tailscale".path;
|
||||
authKeyFile = config.sops.secrets."tailscale/client-secret".path;
|
||||
authKeyParameters.preauthorized = true;
|
||||
};
|
||||
persistDirs = singleton "/var/lib/tailscale";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue