mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:13:55 -05:00
age: add tailscale authKeyFile
This commit is contained in:
parent
ab5682ea25
commit
3fd5f7fcbe
|
@ -9,9 +9,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.alyraffauf.services.tailscale.enable {
|
config = lib.mkIf config.alyraffauf.services.tailscale.enable {
|
||||||
|
age.secrets.tailscaleAuthKey.file = ../../../secrets/tailscale/authKeyFile.age;
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
authKeyFile = config.age.secrets.tailscaleAuthKey.path;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,7 @@ let
|
||||||
in {
|
in {
|
||||||
"spotify/clientId.age".publicKeys = users ++ systems;
|
"spotify/clientId.age".publicKeys = users ++ systems;
|
||||||
"spotify/clientSecret.age".publicKeys = users ++ systems;
|
"spotify/clientSecret.age".publicKeys = users ++ systems;
|
||||||
|
"tailscale/authKeyFile.age".publicKeys = users ++ systems;
|
||||||
"wifi/Stargate-Discovery.age".publicKeys = users ++ systems;
|
"wifi/Stargate-Discovery.age".publicKeys = users ++ systems;
|
||||||
"wifi/wattson.age".publicKeys = users ++ systems;
|
"wifi/wattson.age".publicKeys = users ++ systems;
|
||||||
}
|
}
|
||||||
|
|
BIN
secrets/tailscale/authKeyFile.age
Normal file
BIN
secrets/tailscale/authKeyFile.age
Normal file
Binary file not shown.
Loading…
Reference in a new issue