age: add tailscale authKeyFile

This commit is contained in:
Aly Raffauf 2024-06-09 00:51:09 -04:00 committed by Aly Raffauf
parent ab5682ea25
commit 3fd5f7fcbe
3 changed files with 3 additions and 0 deletions

View file

@ -9,9 +9,11 @@
};
config = lib.mkIf config.alyraffauf.services.tailscale.enable {
age.secrets.tailscaleAuthKey.file = ../../../secrets/tailscale/authKeyFile.age;
services.tailscale = {
enable = true;
openFirewall = true;
authKeyFile = config.age.secrets.tailscaleAuthKey.path;
};
};
}

View file

@ -15,6 +15,7 @@ let
in {
"spotify/clientId.age".publicKeys = users ++ systems;
"spotify/clientSecret.age".publicKeys = users ++ systems;
"tailscale/authKeyFile.age".publicKeys = users ++ systems;
"wifi/Stargate-Discovery.age".publicKeys = users ++ systems;
"wifi/wattson.age".publicKeys = users ++ systems;
}

Binary file not shown.