feat(firefox): add yomitan

This commit is contained in:
buffet 2023-05-02 12:17:29 +02:00
parent 75d8b2de8d
commit 27c8879429

View file

@ -1,5 +1,6 @@
{
config,
lib,
pkgs,
...
}: {
@ -8,12 +9,28 @@
enable = true;
package = pkgs.firefox-wayland;
extensions = with config.nur.repos.rycee.firefox-addons; [
extensions = with config.nur.repos.rycee.firefox-addons;
let
# TODO: switch to yomitan
yomichan = buildFirefoxXpiAddon {
pname = "yomichan";
version = "20.5.22.1";
addonId = "alex@foosoft.net";
url = "https://addons.mozilla.org/firefox/downloads/file/3585060/yomichan-20.5.22.1.xpi";
sha256 = "sha256-/icvPD/nCJYS31owfYMD25QzFjsxAqapy/UAehhxsy8=";
meta = with lib; {
description = "Yomichan turns your browser into a tool for building Japanese language literacy by helping you to decipher texts which would be otherwise too difficult tackle. It features a robust dictionary with EPWING and flashcard creation support.";
license = licenses.gpl3;
platforms = platforms.all;
};
};
in [
bitwarden
i-dont-care-about-cookies
refined-github
sidebery
ublock-origin
yomichan
];
profiles."buffet" = {