all repos — dotfiles @ 929099851811741a8f72cb2d0d5ca29c56a34c27

my *nix dotfiles

nix/denna: k3s: you do need the flags
Anirudh Oppiliappan x@icyphox.sh
Sun, 07 Jul 2024 10:33:59 +0300
commit

929099851811741a8f72cb2d0d5ca29c56a34c27

parent

a6505b21cb3fddde7f6c0dad13c04739e6cbe6ee

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M hosts/denna/configuration.nixhosts/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"; };