{ pkgs, ... }: { home.packages = with pkgs; [ cargo-outdated cargo-watch cargo-make cargo-cache rustup cargo-udeps tsutsumi.cargo-clean-all ]; home.file.".local/share/cargo/config.toml".text = with pkgs; '' [build] rustc-wrapper = "${sccache}/bin/sccache" [target.x86_64-unknown-linux-gnu] linker = "${clang}/bin/clang" rustflags = ["-Clink-args=-fuse-ld=${mold}/bin/mold"] ''; }