News for hackers. Stuff that matters.
Re:OpenZFS 2.0 by jfb on Monday November 30, 2020 @06:21PM (#25260342)
For instance, I have:

     fileSystems."/zfs/media" =
        { device = "tank/media";
          fsType = "zfs";
        };
in my hardware-configuration.nix. tank/media is defined as using a legacy mount-point or whatever the ZFS terminology is. Done.

ETA: I mean, I had to do all the gruntwork to get the pool built, yeah. But once it was defined, getting it mounted and all the kernel bits and bobs set was trivial like that.

Re:OpenZFS 2.0 by evil-olive on Monday November 30, 2020 @08:16PM (#25261130)
In addition, if you just want to play around with it:

    boot.supportedFilesystems = [ "zfs" ];
Both installs the necessary kernel modules and adds zpool(1) / zfs(1) to $PATH.