mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
11 lines
217 B
Nix
11 lines
217 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";
|
|
};
|
|
}
|