Add Helium AppImage and replace Chromium webapps

- Add Helium browser as an AppImage and include it in system packages.
- Rename fluxer package into the appimages module and update imports.
- Add `SUPER+H` keybinding to launch Helium and `SUPER+CONTROL+T` for
  tsukimi.
- Change web‑app desktop entries to use Helium instead of Chromium.
- Disable ungoogled‑chromium and ChatGPT modules on the laptop host.
- Fix a minor typo in a comment within hardware.nix.
This commit is contained in:
2026-05-06 10:40:20 +02:00
parent eb2c93805a
commit 12b69102d9
9 changed files with 51 additions and 12 deletions
@@ -0,0 +1,6 @@
{pkgs, ...}: let
fluxer = pkgs.callPackage ./fluxer.nix {};
helium = pkgs.callPackage ./helium.nix {};
in {
environment.systemPackages = [fluxer helium];
}
@@ -0,0 +1,37 @@
{
lib,
appimageTools,
fetchurl,
}: let
pname = "helium";
version = "0.11.7.1";
src = fetchurl {
url = "https://github.com/imputnet/helium-linux/releases/download/0.11.7.1/helium-0.11.7.1-x86_64.AppImage";
sha256 = "sha256-qzc135IP5F2btxtOMUGMz+0azJhYL9KI0lcPG2KjcxU=";
};
appimageContents = appimageTools.extract {inherit pname version src;};
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/256x256/apps/${pname}.png \
$out/share/icons/hicolor/256x256/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];
};
}
# https://github.com/imputnet/helium-linux/releases/download/0.11.7.1/helium-0.11.7.1-x86_64.AppImage
+1 -1
View File
@@ -1,7 +1,7 @@
_: {
nixpkgs.config.allowUnfree = true;
imports = [
./fluxer
./appimages
./essentials.nix
./packages.nix
./programs.nix
-6
View File
@@ -1,6 +0,0 @@
{pkgs, ...}: let
fluxer =
pkgs.callPackage ./fluxer-package.nix {};
in {
environment.systemPackages = [fluxer];
}