fix: tailscale key

This commit is contained in:
2024-08-15 00:43:53 +08:00
parent 7e9974edb2
commit c4b2796c75

View File

@@ -20,9 +20,12 @@ in {
wget wget
]; ];
environment.etc."tailscale/preAuthKey".text = tailscale_key;
services.tailscale = { services.tailscale = {
enable = true; enable = true;
extraUpFlags = [ "--login-server" "http://ts.yadunut.com:444" "--authkey" tailscale_key]; extraUpFlags = [ "--login-server" "http://ts.yadunut.com:444"];
authKeyFile = "/etc/tailscale/preAuthKey";
}; };
system.stateVersion = "24.05"; system.stateVersion = "24.05";