summaryrefslogtreecommitdiff
path: root/pkgs/firefox
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2023-02-22 22:39:56 +0100
committerQuentin Aristote <quentin@aristote.fr>2023-02-28 17:47:49 +0100
commit70d60e5ee6d1092f765807b8483c9c16d2afa678 (patch)
treeedeb7a91de348d6fc5dd0e43b9ca7bef794b322c /pkgs/firefox
parentbbb2f5e7cefb970b3e4994ee51bb2c3a18a073c2 (diff)
add home-manager modules
Diffstat (limited to 'pkgs/firefox')
-rw-r--r--pkgs/firefox/addons/addons.json16
-rw-r--r--pkgs/firefox/addons/default.nix182
-rw-r--r--pkgs/firefox/user-js/arkenfox.nix8
3 files changed, 0 insertions, 206 deletions
diff --git a/pkgs/firefox/addons/addons.json b/pkgs/firefox/addons/addons.json
deleted file mode 100644
index d39900d..0000000
--- a/pkgs/firefox/addons/addons.json
+++ /dev/null
@@ -1,16 +0,0 @@
-[
- { "slug": "canvasblocker" },
- { "slug": "clearurls" },
- { "slug": "neat-url" },
- { "slug": "redirector" },
- { "slug": "smart-referer" },
- { "slug": "temporary-containers" },
- { "slug": "ublock-origin" },
-
- { "slug": "darkreader" },
- { "slug": "add-custom-search-engine" },
- { "slug": "multi-account-containers" },
- { "slug": "tree-style-tab" },
- { "slug": "unpaywall" },
- { "slug": "url-in-title" }
-]
diff --git a/pkgs/firefox/addons/default.nix b/pkgs/firefox/addons/default.nix
deleted file mode 100644
index f87acb5..0000000
--- a/pkgs/firefox/addons/default.nix
+++ /dev/null
@@ -1,182 +0,0 @@
-{ buildFirefoxXpiAddon, fetchurl, lib, stdenv }:
- {
- "add-custom-search-engine" = buildFirefoxXpiAddon {
- pname = "add-custom-search-engine";
- version = "4.2";
- addonId = "{af37054b-3ace-46a2-ac59-709e4412bec6}";
- url = "https://addons.mozilla.org/firefox/downloads/file/3812756/add_custom_search_engine-4.2.xpi";
- sha256 = "86aaf173514ec2da55556eb339a9d7c115c6e070c5433ebff8db31baa8e165d5";
- meta = with lib;
- {
- description = "Add a custom search engine to the list of available search engines in the search bar and URL bar.";
- license = licenses.mpl20;
- platforms = platforms.all;
- };
- };
- "canvasblocker" = buildFirefoxXpiAddon {
- pname = "canvasblocker";
- version = "1.8";
- addonId = "CanvasBlocker@kkapsner.de";
- url = "https://addons.mozilla.org/firefox/downloads/file/3910598/canvasblocker-1.8.xpi";
- sha256 = "817a6181be877668eca1d0fef9ecf789c898e6d7d93dca7e29479d40f986c844";
- meta = with lib;
- {
- homepage = "https://github.com/kkapsner/CanvasBlocker/";
- description = "Alters some JS APIs to prevent fingerprinting.";
- license = licenses.mpl20;
- platforms = platforms.all;
- };
- };
- "clearurls" = buildFirefoxXpiAddon {
- pname = "clearurls";
- version = "1.24.1";
- addonId = "{74145f27-f039-47ce-a470-a662b129930a}";
- url = "https://addons.mozilla.org/firefox/downloads/file/3927638/clearurls-1.24.1.xpi";
- sha256 = "41259fc4c330261e19ff4d38734eb5fdad92e7a358a16175383e31c62d50f06b";
- meta = with lib;
- {
- homepage = "https://clearurls.xyz/";
- description = "Removes tracking elements from URLs";
- license = licenses.lgpl3;
- platforms = platforms.all;
- };
- };
- "darkreader" = buildFirefoxXpiAddon {
- pname = "darkreader";
- version = "4.9.52";
- addonId = "addon@darkreader.org";
- url = "https://addons.mozilla.org/firefox/downloads/file/3968561/darkreader-4.9.52.xpi";
- sha256 = "418deb0a0aa6ee3e23c31babd57a5c1fc207945356f0617e8dd955496d80b46d";
- meta = with lib;
- {
- homepage = "https://darkreader.org/";
- description = "Dark mode for every website. Take care of your eyes, use dark theme for night and daily browsing.";
- license = licenses.mit;
- platforms = platforms.all;
- };
- };
- "multi-account-containers" = buildFirefoxXpiAddon {
- pname = "multi-account-containers";
- version = "8.0.7";
- addonId = "@testpilot-containers";
- url = "https://addons.mozilla.org/firefox/downloads/file/3932862/multi_account_containers-8.0.7.xpi";
- sha256 = "0e60e00c13dcc372b43ddb2e5428c2e3c1e79d2b23d7166df82d45245edc4f10";
- meta = with lib;
- {
- homepage = "https://github.com/mozilla/multi-account-containers/#readme";
- description = "Firefox Multi-Account Containers lets you keep parts of your online life separated into color-coded tabs. Cookies are separated by container, allowing you to use the web with multiple accounts and integrate Mozilla VPN for an extra layer of privacy.";
- license = licenses.mpl20;
- platforms = platforms.all;
- };
- };
- "neat-url" = buildFirefoxXpiAddon {
- pname = "neat-url";
- version = "5.0.0";
- addonId = "neaturl@hugsmile.eu";
- url = "https://addons.mozilla.org/firefox/downloads/file/3557562/neat_url-5.0.0.xpi";
- sha256 = "0b41899ea0eb424517bbe7ce067eae22de0ff659a0f171671e604edef86cfa2c";
- meta = with lib;
- {
- homepage = "http://hugsmile.eu";
- description = "Remove garbage from URLs.";
- license = licenses.gpl2;
- platforms = platforms.all;
- };
- };
- "redirector" = buildFirefoxXpiAddon {
- pname = "redirector";
- version = "3.5.3";
- addonId = "redirector@einaregilsson.com";
- url = "https://addons.mozilla.org/firefox/downloads/file/3535009/redirector-3.5.3.xpi";
- sha256 = "eddbd3d5944e748d0bd6ecb6d9e9cf0e0c02dced6f42db21aab64190e71c0f71";
- meta = with lib;
- {
- homepage = "http://einaregilsson.com/redirector/";
- description = "Automatically redirects to user-defined urls on certain pages";
- license = licenses.mit;
- platforms = platforms.all;
- };
- };
- "smart-referer" = buildFirefoxXpiAddon {
- pname = "smart-referer";
- version = "0.2.15";
- addonId = "smart-referer@meh.paranoid.pk";
- url = "https://addons.mozilla.org/firefox/downloads/file/3470999/smart_referer-0.2.15.xpi";
- sha256 = "4751ab905c4d9d13b1f21c9fc179efed7d248e3476effb5b393268b46855bf1a";
- meta = with lib;
- {
- homepage = "https://gitlab.com/smart-referer/smart-referer";
- description = "Improve your privacy by limiting Referer information leak!";
- platforms = platforms.all;
- };
- };
- "temporary-containers" = buildFirefoxXpiAddon {
- pname = "temporary-containers";
- version = "1.9.2";
- addonId = "{c607c8df-14a7-4f28-894f-29e8722976af}";
- url = "https://addons.mozilla.org/firefox/downloads/file/3723251/temporary_containers-1.9.2.xpi";
- sha256 = "3340a08c29be7c83bd0fea3fc27fde71e4608a4532d932114b439aa690e7edc0";
- meta = with lib;
- {
- homepage = "https://github.com/stoically/temporary-containers";
- description = "Open tabs, websites, and links in automatically managed disposable containers which isolate the data websites store (cookies, storage, and more) from each other, enhancing your privacy and security while you browse.";
- license = licenses.mit;
- platforms = platforms.all;
- };
- };
- "tree-style-tab" = buildFirefoxXpiAddon {
- pname = "tree-style-tab";
- version = "3.8.26";
- addonId = "treestyletab@piro.sakura.ne.jp";
- url = "https://addons.mozilla.org/firefox/downloads/file/3975864/tree_style_tab-3.8.26.xpi";
- sha256 = "fad45a87897df26613c89403f8dc0eb22eea55faeb98119810e8c1856114e4c1";
- meta = with lib;
- {
- homepage = "http://piro.sakura.ne.jp/xul/_treestyletab.html.en";
- description = "Show tabs like a tree.";
- platforms = platforms.all;
- };
- };
- "ublock-origin" = buildFirefoxXpiAddon {
- pname = "ublock-origin";
- version = "1.43.0";
- addonId = "uBlock0@raymondhill.net";
- url = "https://addons.mozilla.org/firefox/downloads/file/3961087/ublock_origin-1.43.0.xpi";
- sha256 = "ab2d4fa8dfc4f50841093830ff131d7a6e99052ba6e7359f8592e84f39c18a16";
- meta = with lib;
- {
- homepage = "https://github.com/gorhill/uBlock#ublock-origin";
- description = "Finally, an efficient wide-spectrum content blocker. Easy on CPU and memory.";
- license = licenses.gpl3;
- platforms = platforms.all;
- };
- };
- "unpaywall" = buildFirefoxXpiAddon {
- pname = "unpaywall";
- version = "3.98";
- addonId = "{f209234a-76f0-4735-9920-eb62507a54cd}";
- url = "https://addons.mozilla.org/firefox/downloads/file/3816853/unpaywall-3.98.xpi";
- sha256 = "6893bea86d3c4ed7f1100bf0e173591b526a062f4ddd7be13c30a54573c797fb";
- meta = with lib;
- {
- homepage = "https://unpaywall.org/products/extension";
- description = "Get free text of research papers as you browse, using Unpaywall's index of ten million legal, open-access articles.";
- license = licenses.mit;
- platforms = platforms.all;
- };
- };
- "url-in-title" = buildFirefoxXpiAddon {
- pname = "url-in-title";
- version = "0.5";
- addonId = "{fcdb71fb-c9e5-48a3-9d04-e32713f5da88}";
- url = "https://addons.mozilla.org/firefox/downloads/file/792317/url_in_title-0.5.xpi";
- sha256 = "5db99d775cef3c3da069b7e8e1b1e7d68c3720236c99827d85c4e78d3c35dbd7";
- meta = with lib;
- {
- homepage = "https://github.com/cloutierjo/titleUrl";
- description = "Add the current host name to the windows title bar. It adds the possibility to recognize the window from other application that work based on windows titles like KeePass's autotype.";
- license = licenses.gpl3;
- platforms = platforms.all;
- };
- };
- }
diff --git a/pkgs/firefox/user-js/arkenfox.nix b/pkgs/firefox/user-js/arkenfox.nix
deleted file mode 100644
index c464f34..0000000
--- a/pkgs/firefox/user-js/arkenfox.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{ fetchurl }:
-
-let version = "109.0";
-in fetchurl {
- url =
- "https://raw.githubusercontent.com/arkenfox/user.js/${version}/user.js";
- sha256 = "sha256:+GJgFyfmFqbD3eepN9udJImT9H3Z9T+xnXPrHuSwIH4=";
-}