Getting mention error while installing nixos

[nixos@nixos:/mnt/etc/nixos]$ sudo nixos-install --no-channel-copy --max-jobs $(nproc) --cores $(nproc) --show-tracebuilding the configuration in /mnt/etc/nixos/configuration.nix…error: … while calling anonymous lambda at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1571:24: 1570| let f = attrPath: 1571| zipAttrsWith (n: values: | ^ 1572| let here = attrPath ++ [n]; in … while calling anonymous lambda at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1205:18: 1204| mapAttrs 1205| (name: value: | ^ 1206| if isAttrs value && cond value … from call site at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1208:18: 1207| then recurse (path ++ [ name ]) value 1208| else f (path ++ [ name ]) value); | ^ 1209| in … while calling anonymous lambda at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:242:72: 241| # For definitions that have an associated option 242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options; | ^ 243| … while evaluating the option system.build.toplevel': … while calling anonymous lambda at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:824:28: 823| # Process mkMerge and mkIf properties. 824| defs' = concatMap (m: | ^ 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from ${m.file}‘:" (dischargeProperties m.value)) … while evaluating definitions from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix': … from call site at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:825:137: 824| defs' = concatMap (m: 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from ${m.file}’:" (dischargeProperties m.value)) | ^ 826| ) defs; … while calling ‘dischargeProperties’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:896:25: 895| */ 896| dischargeProperties = def: | ^ 897| if def.type or “” == “merge” then … from call site at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:71:12: 70| # Replace runtime dependencies 71| system = foldr ({ oldDependency, newDependency }: drv: | ^ 72| pkgs.replaceDependency { inherit oldDependency newDependency drv; } … while calling ‘foldr’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:121:20: 120| */ 121| foldr = op: nul: list: | ^ 122| let … from call site at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:128:8: 127| else op (elemAt list n) (fold’ (n + 1)); 128| in fold’ 0; | ^ 129| … while calling ‘fold’’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:124:15: 123| len = length list; 124| fold’ = n: | ^ 125| if n == len … while calling anonymous lambda at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:64:50: 63| 64| failedAssertions = map (x: x.message) (filter (x: !x.assertion) config.assertions); | ^ 65| … while calling anonymous lambda at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1205:18: 1204| mapAttrs 1205| (name: value: | ^ 1206| if isAttrs value && cond value … from call site at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1208:18: 1207| then recurse (path ++ [ name ]) value 1208| else f (path ++ [ name ]) value); | ^ 1209| in … while calling anonymous lambda at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:242:72: 241| # For definitions that have an associated option 242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (: v: v.value) options; | ^ 243| … while evaluating the option `boot.zfs.modulePackage’: … while calling anonymous lambda at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:834:19: 833| # Avoid sorting if we don’t have to. 834| if any (def: def.value._type or “” == “order”) defs’‘.values | ^ 835| then sortProperties defs’'.values … from call site at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/tasks/filesystems/zfs.nix:229:19: 228| internal = true; # It is supposed to be selected automatically, but can be overridden by expert users. 229| default = selectModulePackage cfgZfs.package; | ^ 230| type = types.package; … while calling ‘selectModulePackage’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/tasks/filesystems/zfs.nix:19:25: 18| 19| selectModulePackage = package: config.boot.kernelPackages.${package.kernelModuleAttribute}; | ^ 20| clevisDatasets = attrNames (filterAttrs (device: _: any (e: e.fsType == “zfs” && (fsNeededForBoot e) && (e.device == device || hasPrefix “${device}/” e.device)) config.system.build.fileSystems) config.boot.initrd.clevis.devices); error: attribute ‘zfs_2_2’ missing at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/tasks/filesystems/zfs.nix:19:34: 18| 19| selectModulePackage = package: config.boot.kernelPackages.${package.kernelModuleAttribute}; | ^ 20| clevisDatasets = attrNames (filterAttrs (device: _: any (e: e.fsType == “zfs” && (fsNeededForBoot e) && (e.device == device || hasPrefix “${device}/” e.device)) config.system.build.fileSystems) config.boot.initrd.clevis.devices);[nixos@nixos:/mnt/etc/nixos]$