all repos — dotfiles @ 90e97419fc0c57e0d5ca9363167389af3f4116cd

my *nix dotfiles

nix/denna: enable k3s
Anirudh Oppiliappan x@icyphox.sh
Sun, 07 Jul 2024 10:08:53 +0300
commit

90e97419fc0c57e0d5ca9363167389af3f4116cd

parent

5ed1571890b40560f11305e551f3d94ebb8a094b

1 files changed, 7 insertions(+), 5 deletions(-)

jump to
M hosts/denna/configuration.nixhosts/denna/configuration.nix

@@ -81,11 +81,13 @@ tailscale.enable = true;

# nix-snapshotter.enable = true; }; - # services.k3s = { - # enable = true; - # role = "agent"; - # extraFlags = "--disable=traefik --disable=servicelb --disable=metrics-server --bind-address=100.85.88.64 --node-ip=100.85.88.64 --node-external-ip=100.85.88.64"; - # }; + services.k3s = { + enable = true; + extraFlags = "--disable=traefik --disable=servicelb --disable=metrics-server --bind-address=100.85.88.64 --node-ip=100.85.88.64 --node-external-ip=100.85.88.64"; + role = "agent"; + serverAddr = "https://sini:6443"; + tokenFile = "/var/lib/rancher/k3s/agent/token"; + }; nix.settings.experimental-features = [ "nix-command" "flakes" ]; system.stateVersion = "24.05";