nix-dotfiles/nixos_modules/k3s.nix
2022-06-30 21:23:19 +02:00

17 lines
231 B
Nix

{
services.k3s = {
enable = true;
};
networking.firewall = {
allowedTCPPorts = [
6443 # Kubernetes API
];
allowedTCPPortRanges = [
{
from = 9000;
to = 15000;
}
];
};
}