12 lines
231 B
Nix
12 lines
231 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
services.k3s = {
|
|
enable = true;
|
|
role = "server";
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
6443 # k3s: required so that pods can reach the API server (running on port 6443 by default)
|
|
];
|
|
}
|