From bbe8d280c176c703da8cc18b9d7691989579033d Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Thu, 28 Dec 2023 18:24:36 +0100 Subject: [PATCH] Tweak some firefox settings --- home/features/desktop/common/firefox.nix | 50 +++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/home/features/desktop/common/firefox.nix b/home/features/desktop/common/firefox.nix index ee1bd36..0b7a146 100644 --- a/home/features/desktop/common/firefox.nix +++ b/home/features/desktop/common/firefox.nix @@ -18,6 +18,8 @@ bitwarden ublock-origin darkreader + tabliss + consent-o-matic ]; search.engines = { @@ -117,10 +119,56 @@ "dom.security.https_only_mode" = true; "browser.download.panel.shown" = true; "signon.rememberSignons" = false; + "browser.formfill.enable" = false; + "signon. prefillForms" = false; + "browser.shell.checkDefaultBrowser" = false; + "browser.newtabpage.activity-stream.showSponsoredTopSites" = false; + "browser.uiCustomization.state" = ''{"placements":{"widget-overflow-fixed-list":[],"unified-extensions-area":["addon_darkreader_org-browser-action","plasma-browser-integration_kde_org-browser-action","_506e023c-7f2b-40a3-8066-bc5deb40aebe_-browser-action","_testpilot-containers-browser-action","7esoorv3_alefvanoon_anonaddy_me-browser-action","_a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7_-browser-action","gdpr_cavi_au_dk-browser-action","firefoxcolor_mozilla_com-browser-action","firefox-translations-addon_mozilla_org-browser-action"],"nav-bar":["back-button","forward-button","stop-reload-button","urlbar-container","downloads-button","unified-extensions-button","ublock0_raymondhill_net-browser-action","_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action"],"toolbar-menubar":["menubar-items"],"TabsToolbar":["tabbrowser-tabs","new-tab-button","alltabs-button"],"PersonalToolbar":["personal-bookmarks"]},"seen":["save-to-pocket-button","developer-button","_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action","addon_darkreader_org-browser-action","ublock0_raymondhill_net-browser-action","plasma-browser-integration_kde_org-browser-action","_506e023c-7f2b-40a3-8066-bc5deb40aebe_-browser-action","_testpilot-containers-browser-action","7esoorv3_alefvanoon_anonaddy_me-browser-action","_a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7_-browser-action","gdpr_cavi_au_dk-browser-action","firefoxcolor_mozilla_com-browser-action","firefox-translations-addon_mozilla_org-browser-action"],"dirtyAreaCache":["nav-bar","PersonalToolbar","toolbar-menubar","TabsToolbar","unified-extensions-area"],"currentVersion":20,"newElementCount":4}''; }; arkenfox = { enable = true; - "0000".enable = true; + "0000".enable = true; + "0100" = { + enable = true; + # Allow setting homepage + "0102"."browser.startup.page".value = 1; + }; + "0200" = { + enable = true; + }; + "0300".enable = true; + # We keep safebrowsing + "0400".enable = false; + "0600" = { + enable = true; + "0610"."browser.send_pings".enable = true; + }; + "0700" = { + enable = true; + # Disable DNS over HTTPS + "0710"."network.trr.mode".value = 5; + }; + # "0800" = { + # enable = true; + # # Keep using url bar as search bar + # "0801"."keyword.enabled".value = true; + # }; + "0900".enable = true; + "1000" = { + enable = true; + # Enable disk cache for performance reasons + "1001"."browser.cache.disk.enable".enable = true; + "1001"."browser.cache.disk.enable".value = true; + }; + "1200".enable = true; + # I don't use container tabs + "1700".enable = false; + "2600" = { + enable = true; + # The recent documents feature is useful + "2653".enable = false; + }; + "2700".enable = true; }; }; };