Add cargo config

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2025-07-03 21:39:24 +02:00
parent a45e02881a
commit f09c55cd92
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
{ pkgs, ... }:
{
home.file.".cargo/config.toml".text = ''
[net]
git-fetch-with-cli = true
[registries]
[registries.git_noahknegt_com_ev-charging]
index = "sparse+https://git.noahknegt.com/api/packages/ev-charging/cargo/"
'';
}

View File

@@ -2,6 +2,7 @@
{
imports = [
./cargo.nix
./clang.nix
];
}