about summary refs log tree commit diff
path: root/modules/firefox
diff options
context:
space:
mode:
Diffstat (limited to 'modules/firefox')
-rw-r--r--modules/firefox/addons.json10
-rw-r--r--modules/firefox/addons.nix42
-rw-r--r--modules/firefox/default.nix1
3 files changed, 44 insertions, 9 deletions
diff --git a/modules/firefox/addons.json b/modules/firefox/addons.json
index 5c6a090..2a217c2 100644
--- a/modules/firefox/addons.json
+++ b/modules/firefox/addons.json
@@ -19,6 +19,10 @@
     "slug": "languagetool"
   },
   {
+    "pname": "metamask",
+    "slug": "ether-metamask"
+  },
+  {
     "slug": "no-pdf-download"
   },
   {
@@ -32,6 +36,9 @@
     "slug": "skip-redirect"
   },
   {
+    "slug": "switchyomega"
+  },
+  {
     "slug": "ublock-origin"
   },
   {
@@ -40,8 +47,5 @@
   },
   {
     "slug": "violentmonkey"
-  },
-  {
-    "slug": "switchyomega"
   }
 ]
diff --git a/modules/firefox/addons.nix b/modules/firefox/addons.nix
index e416a3f..ebe834a 100644
--- a/modules/firefox/addons.nix
+++ b/modules/firefox/addons.nix
@@ -5,10 +5,10 @@
 {
   "bitwarden" = buildFirefoxXpiAddon {
     pname = "bitwarden";
-    version = "2024.10.0";
+    version = "2024.10.1";
     addonId = "{446900e4-71c2-419f-a6a7-df9c091e268b}";
-    url = "https://addons.mozilla.org/firefox/downloads/file/4363548/bitwarden_password_manager-2024.10.0.xpi";
-    sha256 = "9ea9428444870a74ae1999d77eb12d97a45275c85e83d6afdcbc4597fa3eccfb";
+    url = "https://addons.mozilla.org/firefox/downloads/file/4371752/bitwarden_password_manager-2024.10.1.xpi";
+    sha256 = "7b7357ddce2756dc536b86b5c14139ec09731c1c114ac82807c60fba3ced12a5";
     meta = with lib; {
       homepage = "https://bitwarden.com";
       description = "At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information.";
@@ -144,6 +144,36 @@
       platforms = platforms.all;
     };
   };
+  "metamask" = buildFirefoxXpiAddon {
+    pname = "metamask";
+    version = "12.0.6";
+    addonId = "webextension@metamask.io";
+    url = "https://addons.mozilla.org/firefox/downloads/file/4342782/ether_metamask-12.0.6.xpi";
+    sha256 = "a66e20bbe5ded1b9408420e4c2ffc82369cc3bfd27350afe25f2c0ef6b26ff3b";
+    meta = with lib; {
+      description = "Ethereum Browser Extension";
+      mozPermissions = [
+        "storage"
+        "unlimitedStorage"
+        "clipboardWrite"
+        "http://localhost:8545/"
+        "https://*.infura.io/"
+        "https://*.codefi.network/"
+        "https://*.cx.metamask.io/"
+        "https://chainid.network/chains.json"
+        "https://lattice.gridplus.io/*"
+        "activeTab"
+        "webRequest"
+        "*://*.eth/"
+        "notifications"
+        "file://*/*"
+        "http://*/*"
+        "https://*/*"
+        "*://connect.trezor.io/*/popup.html"
+      ];
+      platforms = platforms.all;
+    };
+  };
   "no-pdf-download" = buildFirefoxXpiAddon {
     pname = "no-pdf-download";
     version = "1.0.6";
@@ -187,10 +217,10 @@
   };
   "rikaichamp" = buildFirefoxXpiAddon {
     pname = "rikaichamp";
-    version = "1.21.1";
+    version = "1.22.0";
     addonId = "{59812185-ea92-4cca-8ab7-cfcacee81281}";
-    url = "https://addons.mozilla.org/firefox/downloads/file/4355635/10ten_ja_reader-1.21.1.xpi";
-    sha256 = "81d85cfdc03cb0c921cac84547e7a7a539af11ff9a81dd901b3f3bfa67ba45f1";
+    url = "https://addons.mozilla.org/firefox/downloads/file/4371439/10ten_ja_reader-1.22.0.xpi";
+    sha256 = "d6f3197b7e3383f2723b9376d93e03fe515e5c610f9c0723d9618b10d3cc4bf1";
     meta = with lib; {
       homepage = "https://github.com/birchill/10ten-ja-reader/";
       description = "Quickly translate Japanese by hovering over words. Formerly released as Rikaichamp.";
diff --git a/modules/firefox/default.nix b/modules/firefox/default.nix
index b7e47b6..51e464f 100644
--- a/modules/firefox/default.nix
+++ b/modules/firefox/default.nix
@@ -127,6 +127,7 @@ in
                 darkreader
                 furiganaize
                 languagetool
+                metamask
                 no-pdf-download
                 redirector
                 rikaichamp

Consider giving Nix/NixOS a try! <3