fix: tailscale key
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user