rice/users/buffet/cargo.nix
2024-05-20 12:06:16 +02:00

9 lines
256 B
Nix

{pkgs, ...}: {
home-manager.users.buffet = {
home.file.".cargo/config.toml".text = ''
[target.x86_64-unknown-linux-gnu]
linker = "${pkgs.clang}/bin/clang"
rustflags = ["-C", "link-arg=-fuse-ld=${pkgs.mold}/bin/mold"]
'';
};
}