diff options
Diffstat (limited to 'users/tdback/modules/firefox/default.nix')
-rw-r--r-- | users/tdback/modules/firefox/default.nix | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/users/tdback/modules/firefox/default.nix b/users/tdback/modules/firefox/default.nix index ab4c34e..a4e78e8 100644 --- a/users/tdback/modules/firefox/default.nix +++ b/users/tdback/modules/firefox/default.nix @@ -1,4 +1,9 @@ -{ config, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: let lock-false = { Value = false; @@ -26,7 +31,7 @@ in SearchBar = "unified"; OfferToSaveLogins = false; EnableTrackingProtection = { - Value= true; + Value = true; Locked = true; Cryptomining = true; Fingerprinting = true; @@ -34,7 +39,10 @@ in # about:config Preferences = { - "browser.contentblocking.category" = { Value = "strict"; Status = "locked"; }; + "browser.contentblocking.category" = { + Value = "strict"; + Status = "locked"; + }; "extensions.pocket.enabled" = lock-false; "extensions.screenshots.disabled" = lock-true; "browser.topsites.contile.enabled" = lock-false; @@ -89,9 +97,9 @@ in "Google".metaData.hidden = true; "Wikipedia (en)".metaData.alias = "@w"; "searx" = { - urls = [{ + urls = lib.singleton { template = "http://10.44.4.100:8888/?q={searchTerms}"; - }]; + }; updateInterval = 24 * 60 * 60 * 1000; definedAliases = [ "@sx" ]; }; |