It should be added to the nix-darwin project instead.
Not how I would recommend to do it, because I'm forcefully trying to avoid adding dependencies to flake-parts. Other projects should not follow this restriction.