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.
This commit is contained in:
@@ -4,8 +4,8 @@
|
|||||||
fetchurl,
|
fetchurl,
|
||||||
}: let
|
}: let
|
||||||
pname = "helium";
|
pname = "helium";
|
||||||
version = "0.16.2.1";
|
version = "0.16.3.1";
|
||||||
hash = "sha256-LS3sjyzR1ySfD0L9RulF5Zgys9FDLm8APYR/AJcKDQI=";
|
hash = "sha256-k3CjrF45s7SizRof/X9eOnPKwkOB9c1AvBSmjj7ROIM=";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/imputnet/helium-linux/releases/download/${version}/helium-${version}-x86_64.AppImage";
|
url = "https://github.com/imputnet/helium-linux/releases/download/${version}/helium-${version}-x86_64.AppImage";
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
_: {
|
||||||
|
# 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
|
||||||
|
'';
|
||||||
|
}
|
||||||
@@ -17,6 +17,7 @@ _: {
|
|||||||
./anki.nix
|
./anki.nix
|
||||||
./bat.nix
|
./bat.nix
|
||||||
./btop.nix
|
./btop.nix
|
||||||
|
./cargo.nix
|
||||||
./cava.nix
|
./cava.nix
|
||||||
./easyeffects.nix
|
./easyeffects.nix
|
||||||
./eza.nix
|
./eza.nix
|
||||||
|
|||||||
@@ -18,3 +18,4 @@
|
|||||||
# programs.noctalia.settings = {
|
# programs.noctalia.settings = {
|
||||||
# };
|
# };
|
||||||
# }
|
# }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user