nix-dotfiles/nixos_modules/k3s.nix

13 lines
207 B
Nix

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