anchor.diff:        systemd.services.zpool-trim = {
           description = "ZFS pools trim";
           after = [ "zfs-import.target" ];
  -        path = [ packages.zfsUser ];
  +        path = [ cfgZfs.package ];
           startAt = cfgTrim.interval;
           # By default we ignore errors returned by the trim command, in case:
           # - HDDs are mixed with SSDs
  
positive.code:             environment.ZFS_FORCE = optionalString cfgZfs.forceImportAll "-f";
              script = (importLib {
                # See comments at importLib definition.
                zpoolCmd="${packages.zfsUser}/sbin/zpool";
                awkCmd="${pkgs.gawk}/bin/awk";
                inherit cfgZfs;
              }) + ''
                poolImported "${pool}" && exit
  
negative.code: 
    enableZfs = inInitrd || inSystem;
  
    autosnapPkg = pkgs.zfstools.override {
      zfs = cfgZfs.package;
    };
  
    zfsAutoSnap = "${autosnapPkg}/bin/zfs-auto-snapshot";
  