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.
18 lines
492 B
Nix
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
|
|
'';
|
|
}
|