Yes, binfmt is just a linux feature. You can see how NixOS implements the binfmt feature here and try to replicate it on another distro. But I think most distros have a qemu-user
package or something like that which does this automatically.
1 Like