nix-dotfiles/modules/nixos/k3s.nix

17 lines
231 B
Nix

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