Tauri has some special requirements (needing JS dev tools and Rust) and hence a specialised flake would be useful. They have some of their own documentation on a NixOS install (using a dev shell though) at https://tauri.app/start/prerequisites/#linux