k8s: include kubectl by default, disable libvirtd

This commit is contained in:
Anish Lakhwara 2023-10-24 15:16:36 -07:00
parent e0e10c9e3e
commit 651d41c163

View file

@ -9,12 +9,12 @@
# services.k3s.extraFlags = toString [
# "--kubelet-arg=v=4" # Optionally add additional args to k3s
# ];
environment.systemPackages = [ pkgs.k3s pkgs.kubernetes-helm ];
environment.systemPackages = [ pkgs.k3s pkgs.kubernetes-helm pkgs.kubectl ];
# minikube on docker
virtualisation.docker.enable = true;
virtualisation.docker.storageDriver = "btrfs";
# or use kvm
virtualisation.libvirtd.enable = true;
# virtualisation.libvirtd.enable = true;
users.users.anish.extraGroups = [ "docker" "libvert" ]; #
}