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:
@@ -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,7 +1,7 @@
|
||||
_: {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
imports = [
|
||||
./fluxer
|
||||
./appimages
|
||||
./essentials.nix
|
||||
./packages.nix
|
||||
./programs.nix
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
{pkgs, ...}: let
|
||||
fluxer =
|
||||
pkgs.callPackage ./fluxer-package.nix {};
|
||||
in {
|
||||
environment.systemPackages = [fluxer];
|
||||
}
|
||||
@@ -13,6 +13,7 @@
|
||||
"SUPER, E, exec, noctalia-shell ipc call launcher emoji #\"Emoji picker\""
|
||||
"SUPER, Escape, exec, noctalia-shell ipc call lockScreen lock #\"Lock the screen\""
|
||||
"SUPER, G, exec, affinity-v3 #\"Graphics editor\""
|
||||
"SUPER, H, exec, helium #\"Helium web browser\""
|
||||
"SUPER, I, exec, iotas #\"Note-taking app\""
|
||||
"SUPER, J, exec, Jan #\"Local AI chat interface\""
|
||||
"SUPER, K, exec, gnome-calculator #\"Scientific calculator\""
|
||||
@@ -32,10 +33,10 @@
|
||||
|
||||
shiftBinds = [
|
||||
"SUPER SHIFT, C, exec, dex ${desktopEntriesPath}/claude.desktop #\"Claude AI chat\""
|
||||
"SUPER SHIFT, D, exec, jellyfin-desktop #\"Jellyfin media client\""
|
||||
"SUPER SHIFT, E, exec, evolution #\"Personal information management application\""
|
||||
"SUPER SHIFT, Escape, exec, noctalia-shell ipc call sessionMenu toggle #\"Open Session Menu\""
|
||||
"SUPER SHIFT, G, exec, dex ${desktopEntriesPath}/chatgpt.desktop #\"ChatGPT AI chat\""
|
||||
"SUPER SHIFT, J, exec, ${desktopEntriesPath}/jellyfinClient.desktop #\"Jellyfin PWA\""
|
||||
"SUPER SHIFT, K, exec, noctalia-shell ipc call plugin:keybind-cheatsheet toggle #\"Toggle keybind cheatsheet\""
|
||||
"SUPER SHIFT, M, exec, plexamp #\"Music player for Plex\""
|
||||
"SUPER SHIFT, N, exec, nextcloud #\"Nextcloud desktop sync client\""
|
||||
@@ -65,6 +66,7 @@
|
||||
"SUPER CONTROL, G, exec, gimp #\"GNU Image Manipulation Program\""
|
||||
"SUPER CONTROL, M, exec, mattermost-desktop #\"Mattermost team chat client\""
|
||||
"SUPER CONTROL, S, exec, signal-desktop #\"Signal encrypted messaging\""
|
||||
"SUPER CONTROL, T, exec, tsukimi #\"A simple Emby/Jellyfin Client\""
|
||||
"SUPER CONTROL, P, exec, hyprpicker -a #\"Pick color from screen\""
|
||||
];
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
makeEntry = app: {
|
||||
name = app.displayName;
|
||||
genericName = app.genericName or app.displayName;
|
||||
exec = "chromium --profile-directory=Default --app=${app.url}";
|
||||
exec = "helium --profile-directory=Default --app=${app.url}";
|
||||
icon = "${fetchIcon app.iconUrl app.iconSha}";
|
||||
terminal = false;
|
||||
type = "Application";
|
||||
|
||||
Reference in New Issue
Block a user