18 lines
577 B
Nix
18 lines
577 B
Nix
{
|
|
networking.firewall.allowedTCPPorts = [ 6443 80 443 33073 ];
|
|
networking.firewall.allowedUDPPorts = [ 3479 ];
|
|
|
|
services.k3s = {
|
|
enable = true;
|
|
role = "server";
|
|
extraFlags = "--write-kubeconfig-mode 644";
|
|
manifests = {
|
|
netbird-namespace = { source = ./netbird/namespace.yaml; };
|
|
netbird-config = { source = ./netbird/config.yaml; };
|
|
netbird-server = { source = ./netbird/server.yaml; };
|
|
netbird-dashboard = { source = ./netbird/dashboard.yaml; };
|
|
netbird-ingress = { source = ./netbird/ingress.yaml; };
|
|
};
|
|
};
|
|
}
|