{ pkgs, ... }: { environment.systemPackages = with pkgs; [ fenix.latest.toolchain rust-analyzer cargo-edit cargo-crev cargo-watch ]; environment.variables.RUST_SRC_PATH = "${pkgs.fenix.latest.rust-src}/lib/rustlib/src/rust/library/"; }