aboutsummaryrefslogtreecommitdiff
path: root/users/tdback/modules/firefox
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2025-01-16 19:57:13 -0500
committertdback <tyler@tdback.net>2025-01-16 19:57:13 -0500
commit88017f5a874478dd82f306a5df88c38a8d06fcb6 (patch)
tree8806c58c4f21bb6a56d8530df8a93b256d44b4f3 /users/tdback/modules/firefox
parent01d012473d4311d4f4e5a0831d912bc4b8c61639 (diff)
fix: format flake with `nixfmt-rfc-style`
Diffstat (limited to 'users/tdback/modules/firefox')
-rw-r--r--users/tdback/modules/firefox/default.nix18
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" ];
};