How to Build a Minimal ZFS NAS without Synology, QNAP, TrueNAS

If you need a basic NAS and don't care about GUI features, it is suprisingly simple to set up a ZFS dataset and share it over the network using Samba.