diff options
| author | Petri Hienonen <petri.hienonen@gmail.com> | 2025-11-30 17:24:06 +0200 |
|---|---|---|
| committer | Petri Hienonen <petri.hienonen@gmail.com> | 2025-11-30 17:24:06 +0200 |
| commit | dbb4480f0ff6ef5086460c6bd77bb84ea6055785 (patch) | |
| tree | 3d89d559e964dab21199a5172d45ea173d14fbcb /home/cargo | |
| parent | 95fe36ca17c5ddc8d2127cf3054281a3dd34894c (diff) | |
| download | nixos-dbb4480f0ff6ef5086460c6bd77bb84ea6055785.tar.zst | |
Add some cargo settings
Diffstat (limited to 'home/cargo')
| -rw-r--r-- | home/cargo/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/home/cargo/default.nix b/home/cargo/default.nix index 1af2f7f..b63fcc8 100644 --- a/home/cargo/default.nix +++ b/home/cargo/default.nix @@ -4,10 +4,27 @@ [registry] global-credential-providers = ["cargo:token"] + [registries.crates-io] + protocol = "sparse" # The protocol to use to access crates.io. + [registries.relesoft] index = "sparse+https://git.relesoft.io/api/packages/relesoft/cargo/" [unstable] gc = true + + [future-incompat-report] + frequency = 'always' # when to display a notification about a future incompat report + + [cache] + auto-clean-frequency = "1 day" # How often to perform automatic cache cleaning + + [term] + color = 'auto' + hyperlinks = true # whether cargo inserts links into output + unicode = true # whether cargo can render output using non-ASCII unicode characters + progress.when = 'auto' # whether cargo shows progress bar + progress.width = 80 # width of progress bar + progress.term-integration = true # whether cargo reports progress to terminal emulator ''; } |
