aboutsummaryrefslogtreecommitdiffstats
path: root/home/cargo/default.nix
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2025-12-04 18:05:00 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2025-12-04 20:39:41 +0200
commit4d7fbc33a139d6484ae86c45b570b2c99fc737ef (patch)
tree46c5788b8ed0eaf6f6581b3b7a87d633d842a8dd /home/cargo/default.nix
parent7ab57a27c9648b3a8e12f755e03fc84eb50291b4 (diff)
downloadnixos-4d7fbc33a139d6484ae86c45b570b2c99fc737ef.tar.zst
Test
Diffstat (limited to 'home/cargo/default.nix')
-rw-r--r--home/cargo/default.nix37
1 files changed, 0 insertions, 37 deletions
diff --git a/home/cargo/default.nix b/home/cargo/default.nix
deleted file mode 100644
index b01ff1a..0000000
--- a/home/cargo/default.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-{ pkgs, ... }:
-{
- xdg.configFile."/home/petri/.cargo/config.toml".source =
- (pkgs.formats.toml { }).generate "cargo-config"
- {
- registry = {
- "global-credential-providers" = [ "cargo:token" ];
- };
- registries = {
- "crates-io" = {
- protocol = "sparse"; # The protocol to use to access crates.io.
- };
- 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
- width = 80; # width of progress bar
- "term-integration" = true; # whether cargo reports progress to terminal emulator
- };
- };
- };
-}