I created a Nix flake project template for anyone looking to create cross-platform (macOS + Linux) desktop apps written in Rust using the Dioxus framework:
You don’t have to actually fork or clone this repo, because it also provides a
flake-parts module that you can simply
import in your project flake, like we do in the nix-browser project (cf. where it gets imported and where it gets used).