services.k3s.images

List of derivations that provide container images. All images are linked to /var/lib/rancher/k3s/agent/images before k3s starts and are consequently imported by the k3s agent. Consider importing the k3s airgap images archive of the k3s package in use, if you want to pre-provision this node with all k3s container images. This option only makes sense on nodes with an enabled agent.

Type
list of package
Default
[ ]
Example
[
  (pkgs.dockerTools.pullImage {
    imageName = "docker.io/bitnami/keycloak";
    imageDigest = "sha256:714dfadc66a8e3adea6609bda350345bd3711657b7ef3cf2e8015b526bac2d6b";
    hash = "sha256-IM2BLZ0EdKIZcRWOtuFY9TogZJXCpKtPZnMnPsGlq0Y=";
    finalImageTag = "21.1.2-debian-11-r0";
  })

  config.services.k3s.package.airgap-images
]
Declared
<nixpkgs/nixos/modules/services/cluster/rancher/default.nix>