# 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-1694791577.tar.gz"
  arch: "x86_64"
  digest: "sha256:2d4d2e7386450899c6d0587fd0db21afadb31d974fa744aa9365c883935c5341"

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
