$ detectbg
$ detectbg [print-if-light default=light] [print-if-dark default=dark]nix develop: opens up abashshell with the bare minimum Rust toolset (cargo&rustc) by defaultnix build: builds the Rust project. Outputs the binary to./result/bin/<name>nix run: runs the Rust program.
- wiki/Flakes
- Fenix - used for managing Rust toolchains (read the
makeRustPlatformexample) - rust-section of language frameworks - optional (use it for extending the template)