From 57b1310a7c096d2065b93d0719fb0ee9e7018a33 Mon Sep 17 00:00:00 2001 From: Yadunand Prem Date: Tue, 8 Oct 2024 13:53:33 -0400 Subject: [PATCH] feat: better configuration --- nixos/server/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/server/configuration.nix b/nixos/server/configuration.nix index 6d3a73a..9a8a89e 100644 --- a/nixos/server/configuration.nix +++ b/nixos/server/configuration.nix @@ -47,8 +47,8 @@ role = "server"; tokenFile = config.age.secrets.k3s.path; clusterInit = meta.hostname == "premhome-falcon-1"; - serverAddr = if meta.hostname == "premhome-falcon-1" then "" else "https://premhome-falcon-1:6444"; - extraFlags = ["--disable=servicelb" "--disable=traefik" ]; + serverAddr = if meta.hostname == "premhome-falcon-1" then "" else "https://premhome-falcon-1:6443"; + extraFlags = ["--disable=servicelb" "--disable=traefik" "--node-ip" meta.ip ]; }; networking.firewall.trustedInterfaces = [ "tailscale0" ];