From 88017f5a874478dd82f306a5df88c38a8d06fcb6 Mon Sep 17 00:00:00 2001 From: tdback Date: Thu, 16 Jan 2025 19:57:13 -0500 Subject: fix: format flake with `nixfmt-rfc-style` --- users/tdback/modules/firefox/default.nix | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'users/tdback/modules/firefox/default.nix') 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" ]; }; -- cgit v1.2.3