dotfiles/home/helium/default.nix

44 lines
1.4 KiB
Nix

{ pkgs, ... }:
{
home.packages = [
(pkgs.appimageTools.wrapType2 {
pname = "Helium";
version = "0.4.7.1";
src = pkgs.fetchurl {
url = "https://release-assets.githubusercontent.com/github-production-release-asset/1043354934/31a5650e-2719-4734-8aa7-8b45ff506fe7";
sha256 = "275853aae038ee08a6d07ed314c33e25a6d8e5845c2f9b27253a4cfde94dd732";
};
})
];
xdg.desktopEntries = {
helium = {
name = "Helium";
genericName = "Web Browser";
comment = "Access the Internet";
exec = "Helium --enable-features=TouchpadOverscrollHistoryNavigation %U";
startupNotify = true;
terminal = false;
icon = "chromium";
type = "Application";
categories = [ "Network" "WebBrowser" ];
mimeType = [
"x-scheme-handler/webcal"
"application/pdf"
"application/rdf+xml"
"application/rss+xml"
"application/xhtml+xml"
"application/xhtml_xml"
"application/xml"
"image/gif"
"image/jpeg"
"image/png"
"image/webp"
"text/html"
"text/xml"
"x-scheme-handler/http"
"x-scheme-handler/https"
];
};
};
}