Files
garandos/modules/core/packages/appimages/helium.nix
T
GarandPLG 40421f044c Add Codex module and skills, update Helium
Enable Codex on Garand-Desktop and Garand-Laptop.
Keep it disabled on the default host.

Add a new `codex.nix` module and import it in the home
configuration. Introduce a shared `skills.nix` module that
downloads Ponytail and Caveman skill files for both
`.agents/skills` and `.codex/skills`. Update Helium to
0.19.3.1 with the correct hash. Remove the obsolete Zed
skills module.
2026-10-15 16:42:20 +02:00

39 lines
1.3 KiB
Nix

{
lib,
appimageTools,
fetchurl,
}: let
pname = "helium";
version = "0.19.3.1";
hash = "sha256-Rg5tKlyG0DkhYkItGyF6NmMb2DD40h5WUYyWAgl5eQY=";
src = fetchurl {
url = "https://github.com/imputnet/helium-linux/releases/download/${version}/helium-${version}-x86_64.AppImage";
sha256 = hash;
};
appimageContents = appimageTools.extract {inherit pname version src;};
iconSize = "256x256";
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
# mv $out/bin/${pname}-${version} $out/bin/${pname}
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/${iconSize}/apps/${pname}.png \
$out/share/icons/hicolor/${iconSize}/apps/${pname}.png
# substituteInPlace $out/share/applications/${pname}.desktop \
# --replace-fail 'Exec=AppRun' 'Exec=${pname}'
'';
meta = with lib; {
description = "Helium browser";
homepage = "https://github.com/imputnet/helium";
license = licenses.agpl3Plus;
platforms = ["x86_64-linux"];
sourceProvenance = with lib.sourceTypes; [binaryNativeCode];
maintainers = with lib.maintainers; [garand_plg];
};
}