From 0d63f3ecd8230248da482cc63630b8e913a0d8d1 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sat, 13 Jan 2024 14:13:16 -0500 Subject: [PATCH] fix(firefox): try fixing floccus perms --- home/firefox/addons/addons.json | 3 +++ .../addons/generated-firefox-addons.nix | 22 +++++++++++++++++++ home/firefox/default.nix | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/home/firefox/addons/addons.json b/home/firefox/addons/addons.json index 6b34664..85a4588 100644 --- a/home/firefox/addons/addons.json +++ b/home/firefox/addons/addons.json @@ -11,6 +11,9 @@ { "slug": "ttv-lol-pro" }, + { + "slug": "floccus" + }, { "slug": "opera-gx-witchcraft-purple" } diff --git a/home/firefox/addons/generated-firefox-addons.nix b/home/firefox/addons/generated-firefox-addons.nix index 7655530..0368a61 100644 --- a/home/firefox/addons/generated-firefox-addons.nix +++ b/home/firefox/addons/generated-firefox-addons.nix @@ -41,6 +41,28 @@ platforms = platforms.all; }; }; + "floccus" = buildFirefoxXpiAddon { + pname = "floccus"; + version = "5.0.8"; + addonId = "floccus@handmadeideas.org"; + url = "https://addons.mozilla.org/firefox/downloads/file/4218289/floccus-5.0.8.xpi"; + sha256 = "72c05ea95f1ec5ac3327d2060c9369e026117c17e90c7436cf124b833040e75e"; + meta = with lib; { + homepage = "https://floccus.org"; + description = "Sync your bookmarks across browsers via Nextcloud, WebDAV or Google Drive"; + license = licenses.mpl20; + mozPermissions = [ + "*://*/*" + "alarms" + "bookmarks" + "storage" + "unlimitedStorage" + "tabs" + "identity" + ]; + platforms = platforms.all; + }; + }; "google-container" = buildFirefoxXpiAddon { pname = "google-container"; version = "1.5.4"; diff --git a/home/firefox/default.nix b/home/firefox/default.nix index 5c6252f..7100494 100644 --- a/home/firefox/default.nix +++ b/home/firefox/default.nix @@ -192,13 +192,13 @@ in { ++ (with rycee.firefox-addons; [ bitwarden darkreader - floccus istilldontcareaboutcookies image-search-options return-youtube-dislikes undoclosetabbutton ]) ++ (with firefox-addons; [ + floccus sound-volume google-container checkmarks-web-ext