Dodrill covers a step by step of setting up and using Nix, in this case for a Rust service:
Nix is a tool that helps people create reproducible builds. This means that given a known input, you can get the same output on other machines. Let’s build and deploy a small Rust service with Nix. This will not require the Rust compiler to be installed with rustup or similar.
Also to read: Dodrill’s writing of adopting Nix that we saved here as well.