anchor.diff:                RemainAfterExit = true;
               };
               script = ''
  -              zpool_cmd="${zfsPkg}/sbin/zpool"
  +              zpool_cmd="${zfsUserPkg}/sbin/zpool"
                 ("$zpool_cmd" list "${pool}" >/dev/null) || "$zpool_cmd" import -N ${optionalString cfgZfs.forceImportAll "-f"} "${pool}"
               '';
             };
  
positive.code: 
    kernel = config.boot.kernelPackages;
  
    splPkg = if cfgZfs.useGit then kernel.spl_git else kernel.spl;
    zfsPkg = if cfgZfs.useGit then kernel.zfs_git else kernel.zfs;
  
    autosnapPkg = pkgs.zfstools.override {
      zfs = zfsPkg;
    };
  
    zfsAutoSnap = "${autosnapPkg}/bin/zfs-auto-snapshot";
  
negative.code:         zfsSupport = true;
        };
  
        environment.etc."zfs/zed.d".source = "${zfsUserPkg}/etc/zfs/zed.d/*";
  
        system.fsPackages = [ zfsUserPkg ];                  # XXX: needed? zfs doesn't have (need) a fsck
        environment.systemPackages = [ zfsUserPkg ];
        services.udev.packages = [ zfsUserPkg ];             # to hook zvol naming, etc.
        systemd.packages = [ zfsUserPkg ];
  
        systemd.services = let
          getPoolFilesystems = pool:
  