diff --git a/hosts/levi/kube.nix b/hosts/levi/kube.nix index 87aeffb..a3e923a 100644 --- a/hosts/levi/kube.nix +++ b/hosts/levi/kube.nix @@ -1,6 +1,15 @@ { pkgs, ... }: { networking.firewall.allowedTCPPorts = [ 6443 ]; - environment.systemPackages = [ pkgs.kubectl ]; + environment.systemPackages = [ + pkgs.kubectl + pkgs.kubernetes-helm + ]; services.k3s.enable = true; + services.k3s.extraFlags = toString [ + # flags for using Calico instead of Flannel + "--cluster-cidr=192.168.0.0/16" + "--disable-network-policy" + "--flannel-backend=none" + ]; }