mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
19 lines
334 B
Nix
19 lines
334 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: let
|
|
toml = pkgs.formats.toml {};
|
|
in {
|
|
home.file.".cargo/config.toml".source = toml.generate "config.toml" {
|
|
build.target-dir = "${config.home.homeDirectory}/.cargo/target";
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
cargo-bloat
|
|
cargo-cache
|
|
cargo-deny
|
|
cargo-expand
|
|
cargo-watch
|
|
];
|
|
}
|