feat: better configuration
This commit is contained in:
@@ -47,8 +47,8 @@
|
|||||||
role = "server";
|
role = "server";
|
||||||
tokenFile = config.age.secrets.k3s.path;
|
tokenFile = config.age.secrets.k3s.path;
|
||||||
clusterInit = meta.hostname == "premhome-falcon-1";
|
clusterInit = meta.hostname == "premhome-falcon-1";
|
||||||
serverAddr = if meta.hostname == "premhome-falcon-1" then "" else "https://premhome-falcon-1:6444";
|
serverAddr = if meta.hostname == "premhome-falcon-1" then "" else "https://premhome-falcon-1:6443";
|
||||||
extraFlags = ["--disable=servicelb" "--disable=traefik" ];
|
extraFlags = ["--disable=servicelb" "--disable=traefik" "--node-ip" meta.ip ];
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.trustedInterfaces = [ "tailscale0" ];
|
networking.firewall.trustedInterfaces = [ "tailscale0" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user