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://github.com/imputnet/helium-linux/releases/download/0.4.7.1/helium-0.4.7.1-x86_64.AppImage";
sha256 = "b7a64d9cd96c841119f4729545d7b88ed804fdcac99d3878099f338766dfdd2d";
};
})
];
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"
];
};
};
}