feat(axol): Enable tailscale
Previously, we set up headscale. As the headscale server doesn't automatically put the server running it into the tailscale network, we also need to set up the tailscale daemon
This commit is contained in:
parent
740e35fb48
commit
a8743643d6
|
@ -0,0 +1,8 @@
|
|||
age-encryption.org/v1
|
||||
-> ssh-ed25519 JMblKQ /KeQPyNmEYg1qHq5M4z3aQ7Jt4dwozMQMhmb1wzdDDw
|
||||
kS77B2HAZxnhMzcD9bTkcyhGiRrkzEv6+UDcE0lonJU
|
||||
-> BVh{PUl}-grease K D$G T_Ov7Cb
|
||||
vmCUTiAi81FTpapoJgHlCO9e6ZXzUW5QfuclIZbG2gqoL6XKSvED84gdZeIeZ3TA
|
||||
tSFu/4eADDeqoGKiFQSt/Ji+qy2XDmIVJh400QwcUsjZasRXMquGPn6jDxo
|
||||
--- +5WuWL/wQ0EH3xpoQ3f5mLiHZNsXO8wGpsNBh+PfTkA
|
||||
ËA©åߘõTfl—àæ×±×ÆZôdW4‰ÝN–æ÷¤$[P#¡Z‚ÜÔÜ<18>×þƒÃ’æ£A¥ÙFÃr•bïd<C3AF>-`,@ÕµóÈÐäÕ
|
Binary file not shown.
|
@ -57,6 +57,12 @@
|
|||
database_password_path = config.age.secrets."clicks.services.headscale.database_password_path".path;
|
||||
};
|
||||
|
||||
clicks.networking.tailscale = {
|
||||
enable = true;
|
||||
server = "vpn.auxolotl.org";
|
||||
authKeyFile = config.age.secrets."clicks.networking.tailscale.authKeyFile".path;
|
||||
};
|
||||
|
||||
age.secrets."clicks.services.headscale.database_password_path" = {
|
||||
generator.script = "alnum";
|
||||
group = "headscale";
|
||||
|
@ -64,5 +70,10 @@
|
|||
unstableName = true; # Clicks option to base the name on a hash of the contents ... helps with autorestarting services
|
||||
};
|
||||
|
||||
age.secrets."clicks.networking.tailscale.authKeyFile" = {
|
||||
rekeyFile = ./clicks.networking.tailscale.authKeyFile.age;
|
||||
unstableName = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue