Maybe take a look at Nix+Homemanager.
IIRC, unless something changed, 26.05 is the last nixpkgs that supports x86_64-darwin. :-(
IIRC, unless something changed, 26.05 is the last nixpkgs that supports x86_64-darwin. :-(