K3s over Tailnet
I set my home lab is set up with K3s. This is great, but I’d like to access it from not just inside my dungeon. To make this happen, I set up the network with Tailscale. With a NixOS, this is dirt-simple: { lib, config, ... }: { options = { tailscale.enable = lib.mkEnableOption "Enable Tailscale"; }; config = { services.tailscale.enable = config.tailscale.enable; }; } I added the Tailnet IP to the ~/.kube/config. apiVersion: v1 clusters: - cluster: server: https://<Tailnet IP>:6443 name: default kubectl get nodes… ...