diff --git a/home/modules/shellAliases.nix b/home/modules/shellAliases.nix index d04c5fc..fa759ee 100644 --- a/home/modules/shellAliases.nix +++ b/home/modules/shellAliases.nix @@ -78,9 +78,7 @@ type = " "; alias = [ str ]; }; - in (coercedTo str coerce rawAliasType) // { - check = v: builtins.isString v || formatLib.isAlias v; - }; + in addCheck (coercedTo str coerce rawAliasType) (v: builtins.isString v || formatLib.isAlias v); aliasTreeType = with lib.types; attrsOf (either coercedAliasType aliasTreeType) // { description = "Alias tree";