# This template requires Lima v0.18.0 or later and only works on Windows versions
# that support WSL2 (Windows 10 Build >= 19041, all Windows 11).
vmType: wsl2

images:
# Source: https://github.com/runfinch/finch-core/blob/main/Dockerfile
- location: "https://deps.runfinch.com/common/x86-64/finch-rootfs-production-amd64-1738856482.tar.gz"
  arch: "x86_64"
  digest: "sha256:efbe5fc2b2ec94bbf9e4a6c184bf2b36040faf939c15a016f8d7931de9a481c3"

mountType: wsl2

# Use system because of an error when setting up RootlessKit (see https://github.com/microsoft/WSL/issues/8842)
# There are possible workarounds, just not implemented yet.
containerd:
  system: true
  user: false
