aboutsummaryrefslogtreecommitdiffstats
path: root/modules/web/chromium/extensions/aria2-explorer.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-27 22:58:52 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-27 23:04:07 +0530
commitc1daed5370b8ca2555c12cb5f248b5891bc8896a (patch)
tree06c1f13e9b499458ffced4865c4d158fda06df36 /modules/web/chromium/extensions/aria2-explorer.nix
parent1079bdef3a4630c915f62c437187a821167e8d7b (diff)
downloadhome-manager-config-c1daed5370b8ca2555c12cb5f248b5891bc8896a.tar.gz
home-manager-config-c1daed5370b8ca2555c12cb5f248b5891bc8896a.zip
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
Diffstat (limited to 'modules/web/chromium/extensions/aria2-explorer.nix')
-rw-r--r--modules/web/chromium/extensions/aria2-explorer.nix33
1 files changed, 33 insertions, 0 deletions
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<version>/A2E-v<version>.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;
+ };
+}