Files
garandos/modules/home/cargo.nix
T
GarandPLG db5a50db08 Update Helium to 0.16.3.1 and add Cargo module
Bump Helium AppImage version and update its SHA‑256 hash.
Add a new home module that installs a .cargo/config.toml with a custom
registry and enables git‑fetch‑with‑cli.
2026-09-02 22:22:52 +02:00

18 lines
492 B
Nix

_: {
# programs.cargo = {
# enable = true;
# cargoHome = "/home/${username}/.cargo";
# settings = {
# registries."gitea-garandplg".index = "sparse+https://gitea.garandplg.com/api/packages/GarandPLG/cargo/";
# net.git-fetch-with-cli = true;
# };
# };
home.file.".cargo/config.toml".text = ''
[registries]
gitea-garandplg = { index = "sparse+https://gitea.garandplg.com/api/packages/GarandPLG/cargo/" }
[net]
git-fetch-with-cli = true
'';
}