This commit is contained in:
2025-03-29 08:55:06 -06:00
parent 5e910b90ae
commit ba70bd2cd4

View File

@@ -2,14 +2,17 @@
{ ... }:
{
services.k3s.enable = true;
services.k3s.role = "server";
services.k3s.extraFlags = toString [
services.k3s = {
enable = true;
role = "server";
extraFlags = toString [
# "--debug" # Optionally add additional args to k3s
"--disable=traefik"
"--bind-address 100.122.128.107"
"--tls-san 100.122.128.107"
];
serverAddr = "https://100.122.128.107:6443"
};
networking.firewall.allowedTCPPorts = [
443
80