chore(browsers): update extensions

This commit is contained in:
Felix Schröter 2024-05-26 12:33:47 +02:00
parent a377290326
commit 0aa4774f44
Signed by: felschr
GPG key ID: 671E39E6744C807D
3 changed files with 4 additions and 53 deletions

View file

@ -2,8 +2,7 @@
with lib; with lib;
let let
firefox-addons = inputs.firefox-addons.packages.${pkgs.system} firefox-addons = inputs.firefox-addons.packages.${pkgs.system};
// (import ./firefoxAddons.nix { inherit inputs pkgs lib; });
inherit (import ../modules/firefox/common.nix { inherit config lib pkgs; }) inherit (import ../modules/firefox/common.nix { inherit config lib pkgs; })
mkConfig; mkConfig;
@ -47,7 +46,7 @@ let
''; '';
commonExtensions = with firefox-addons; [ commonExtensions = with firefox-addons; [
german-dictionary dictionary-german
ublock-origin ublock-origin
proton-pass proton-pass
libredirect libredirect

View file

@ -1,47 +0,0 @@
{ inputs, pkgs, lib, ... }:
let inherit (inputs.firefox-addons.lib.${pkgs.system}) buildFirefoxXpiAddon;
in {
german-dictionary = buildFirefoxXpiAddon rec {
pname = "german-dictionary";
version = "2.1";
addonId = "de-DE@dictionaries.addons.mozilla.org";
url =
"https://addons.mozilla.org/firefox/downloads/file/1163876/german_dictionary-${version}.xpi?src=";
sha256 = "sha256-p+/vXp/fD2RgrDiVHByjdmJY2CZHrUi9h5Vb1QCc6eA=";
meta = with lib; {
description =
"German Dictionary (new Orthography) for spellchecking in Mozilla products";
license = licenses.lgpl21;
platforms = platforms.all;
};
};
zotero-connector = buildFirefoxXpiAddon rec {
pname = "zotero-connector";
version = "5.0.108";
addonId = "zotero@chnm.gmu.edu";
url =
"https://download.zotero.org/connector/firefox/release/Zotero_Connector-${version}.xpi";
sha256 = "sha256-Ic34T9++qZpbx8rRAhaRZfiwNClQo6iRS2RmS95v55c=";
meta = with lib; {
homepage = "https://www.zotero.org";
description = "Save references to Zotero from your web browser";
license = licenses.agpl3Plus;
platforms = platforms.all;
};
};
ddg-bangs-but-faster = buildFirefoxXpiAddon rec {
pname = "ddg-bangs-but-faster";
version = "0.2.2";
addonId = "{55bf0dfc-ebd5-4705-a68d-61c6ac6ecad0}";
url =
"https://addons.mozilla.org/firefox/downloads/file/3743190/ddg_bangs_but_faster-${version}.xpi";
sha256 = "sha256-O8jvzxXH83JKydxUYUpKY/rB2s4BpG8a3gnoYgL4vLA=";
meta = with lib; {
homepage = "https://bangs-but-faster.inclushe.com/";
description = "Processes DuckDuckGo !bangs client-side";
license = licenses.mit;
platforms = platforms.all;
};
};
}

View file

@ -1,8 +1,7 @@
{ inputs, pkgs, lib, ... }: { inputs, pkgs, lib, ... }:
let let
firefox-addons = inputs.firefox-addons.packages.${pkgs.system} firefox-addons = inputs.firefox-addons.packages.${pkgs.system};
// (import ./firefoxAddons.nix { inherit inputs pkgs lib; });
commonSettings = { commonSettings = {
# Disable DNS over HTTPS (use system DNS, i.e. VPN's DNS) # Disable DNS over HTTPS (use system DNS, i.e. VPN's DNS)
@ -38,7 +37,7 @@ let
}; };
commonExtensions = with firefox-addons; [ commonExtensions = with firefox-addons; [
german-dictionary dictionary-german
proton-pass proton-pass
libredirect libredirect
zotero-connector zotero-connector