nix/iso: enable k3s
Anirudh Oppiliappan x@icyphox.sh
Tue, 09 Jul 2024 09:10:34 +0300
1 files changed,
7 insertions(+),
7 deletions(-)
jump to
M
hosts/iso/configuration.nix
→
hosts/iso/configuration.nix
@@ -82,13 +82,13 @@ tailscale.enable = true;
# nix-snapshotter.enable = true; }; - # services.k3s = let address = "100.77.4.74"; in { - # enable = true; - # role = "agent"; - # extraFlags = "--node-ip=${address} --node-external-ip=${address} --flannel-iface=tailscale0"; - # serverAddr = "https://sini:6443"; - # tokenFile = "/var/lib/rancher/k3s/token"; - # }; + services.k3s = let address = "100.109.134.88"; in { + enable = true; + role = "agent"; + extraFlags = "--node-ip=${address} --node-external-ip=${address} --flannel-iface=tailscale0"; + serverAddr = "https://sini:6443"; + tokenFile = "/var/lib/rancher/k3s/token"; + }; services.openiscsi = { enable = true;