Files
infrastructure/nix/modules/k3s.nix
2025-03-29 08:50:41 -06:00

22 lines
394 B
Nix

{ ... }:
{
services.k3s.enable = true;
services.k3s.role = "server";
services.k3s.extraFlags = toString [
# "--debug" # Optionally add additional args to k3s
"--disable=traefik"
"--bind-address 100.122.128.107"
"--tls-san 100.122.128.107"
];
networking.firewall.allowedTCPPorts = [
443
80
];
networking.firewall.allowedUDPPorts = [
443
80
];
}