anchor.diff:        };
       })
   
  -    (mkIf (enableZfs && cfgTrim.enable) {
  +    (mkIf (cfgZfs.enabled && cfgTrim.enable) {
         systemd.services.zpool-trim = {
           description = "ZFS pools trim";
           after = [ "zfs-import.target" ];
  
positive.code:         default = if config.boot.zfs.enableUnstable then pkgs.zfsUnstable else pkgs.zfs;
          description = "Configured ZFS userland tools package.";
        };
        enableUnstable = mkOption {
          type = types.bool;
          default = false;
  
negative.code: 
    inInitrd = any (fs: fs == "zfs") config.boot.initrd.supportedFilesystems;
    inSystem = any (fs: fs == "zfs") config.boot.supportedFilesystems;
  
    autosnapPkg = pkgs.zfstools.override {
      zfs = cfgZfs.package;
  