How to modify lxd (zfs) expiration time of an image

¿Anybody knows any method to modify the expiration time of an lxd image? Or how to make that an image never expires.
I tried with lxd image edit, copying the lxc image info fields, but it does not admit them. I neither see any reference exporting the image and editing the metadata.yaml.

¿Changing lxc config set images.remote_cache_expiry 0 would be enough?

My lxd version is 2.0.11

That would prevent the image from expiring, yes.