ZFS on laptop with encrypted /home

With Ubuntu 19.10 it’s simple to get a workstation with boot and root on ZFS. But what’s missing from the install is encryption. This is how I did it.

I suggest you first have:

basic zfs knowledge

good linux knowledge

no important data on the target system

more than 4 GB RAM

SSD or better