I would prefer to do this on zfs, for which there is a lovely installation guide on the openzfs docs site.
https://openzfs.github.io/openzfs-docs/Getting%20Started/Nix...
https://openzfs.github.io/openzfs-docs/Getting%20Started/Nix...
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/190...