From c1daed5370b8ca2555c12cb5f248b5891bc8896a Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Mon, 27 Jul 2026 22:58:52 +0530 Subject: feat: using ungoogled-chromium, accelerated graphics for hyprland - Switch to using ungoogled-chromium package instead of chromium to get away from google tracking - Installing extensions unpacked from their source code/zip downloads for ungoogled-chromium - Using hl.env to pass environment variables to hyprland as home.sessionVariables don't get passed - Fixed the graphics acceleration for hyprland, but passing the environment variables through hl.env --- modules/web/chromium/extensions/aria2-explorer.nix | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 modules/web/chromium/extensions/aria2-explorer.nix (limited to 'modules/web/chromium/extensions/aria2-explorer.nix') diff --git a/modules/web/chromium/extensions/aria2-explorer.nix b/modules/web/chromium/extensions/aria2-explorer.nix new file mode 100644 index 0000000..1f6e5b1 --- /dev/null +++ b/modules/web/chromium/extensions/aria2-explorer.nix @@ -0,0 +1,33 @@ +{ + lib, + pkgs, + extLib, +}: +let + pname = "aria2-explorer"; + owner = "alexhua"; + repo = "Aria2-Explorer"; + version = "2.8.2"; + checkedVersion = extLib.checkExtensionVersion { + inherit + pname + owner + repo + version + ; + tagPrefix = "v"; + urlTemplate = "https://github.com/${owner}/${repo}/releases/download/v/A2E-v.crx"; + }; +in +{ + inherit pname; + version = checkedVersion; + id = "dkcfilkhokojanlmgpbmjidiidoebnbm"; + drv = extLib.fetchUnpackedExtension { + inherit pname; + version = checkedVersion; + url = "https://github.com/${owner}/${repo}/releases/download/v${checkedVersion}/A2E-v${checkedVersion}.crx"; + hash = "sha256-ljTgKd9QJTRJ11rlNx+PTynlQvdLW3IEoYNnCeOU2K8="; + isCrx = true; + }; +} -- cgit v1.2.3