1d41bf6bf1
- Enable Tailscale plugin in home modules for Garand-Desktop and Garand-Laptop; keep it disabled in the default host. - Introduce `tailscale.enable` option in noctalia plugins and add it to the noctalia-shell configuration with source URL handling. - Provide default Tailscale settings (refresh interval, UI options, Taildrop configuration, login server, etc.). - Add Tailscale widget to the right side of the bar widget list. - Bump Helium AppImage to version 0.12.5.1 and update its sha256.
40 lines
1.3 KiB
Nix
40 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
appimageTools,
|
|
fetchurl,
|
|
}: let
|
|
pname = "helium";
|
|
version = "0.12.5.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/imputnet/helium-linux/releases/download/${version}/helium-${version}-x86_64.AppImage";
|
|
sha256 = "sha256-uUZauNralX6katmnO9VDLEs+d+HIhkjkeV36Dw2eUmM=";
|
|
};
|
|
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];
|
|
};
|
|
}
|
|
# https://github.com/imputnet/helium-linux/releases/download/0.11.7.1/helium-0.11.7.1-x86_64.AppImage
|
|
|