From db5a50db084d705dfc57460e609450b5c8621cbe Mon Sep 17 00:00:00 2001 From: GarandPLG Date: Wed, 2 Sep 2026 22:22:52 +0200 Subject: [PATCH] Update Helium to 0.16.3.1 and add Cargo module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- modules/core/packages/appimages/helium.nix | 4 ++-- modules/home/cargo.nix | 17 +++++++++++++++++ modules/home/default.nix | 1 + modules/home/noctalia/default.nix | 1 + 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 modules/home/cargo.nix diff --git a/modules/core/packages/appimages/helium.nix b/modules/core/packages/appimages/helium.nix index f500fd9..1db8d5d 100644 --- a/modules/core/packages/appimages/helium.nix +++ b/modules/core/packages/appimages/helium.nix @@ -4,8 +4,8 @@ fetchurl, }: let pname = "helium"; - version = "0.16.2.1"; - hash = "sha256-LS3sjyzR1ySfD0L9RulF5Zgys9FDLm8APYR/AJcKDQI="; + version = "0.16.3.1"; + hash = "sha256-k3CjrF45s7SizRof/X9eOnPKwkOB9c1AvBSmjj7ROIM="; src = fetchurl { url = "https://github.com/imputnet/helium-linux/releases/download/${version}/helium-${version}-x86_64.AppImage"; diff --git a/modules/home/cargo.nix b/modules/home/cargo.nix new file mode 100644 index 0000000..0eeb5e5 --- /dev/null +++ b/modules/home/cargo.nix @@ -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 + ''; +} diff --git a/modules/home/default.nix b/modules/home/default.nix index a8f201b..f1c9e7d 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -17,6 +17,7 @@ _: { ./anki.nix ./bat.nix ./btop.nix + ./cargo.nix ./cava.nix ./easyeffects.nix ./eza.nix diff --git a/modules/home/noctalia/default.nix b/modules/home/noctalia/default.nix index eaf3749..4c5ebf6 100644 --- a/modules/home/noctalia/default.nix +++ b/modules/home/noctalia/default.nix @@ -18,3 +18,4 @@ # programs.noctalia.settings = { # }; # } +