nix/denna: k3s: you do need the flags
Anirudh Oppiliappan x@icyphox.sh
Sun, 07 Jul 2024 10:33:59 +0300
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
hosts/denna/configuration.nix
→
hosts/denna/configuration.nix
@@ -81,9 +81,10 @@ tailscale.enable = true;
# nix-snapshotter.enable = true; }; - services.k3s = { + services.k3s = let address = "100.77.4.74"; in { enable = true; role = "agent"; + extraFlags = "--node-ip=${address} --node-external-ip=${address}"; serverAddr = "https://sini:6443"; tokenFile = "/var/lib/rancher/k3s/token"; };