nixcfg/homeManagerModules/apps/librewolf/default.nix

26 lines
1.3 KiB
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
config,
lib,
2024-04-07 22:16:33 -04:00
...
}: {
config = lib.mkIf config.ar.home.apps.librewolf.enable {
2024-03-28 19:52:15 -04:00
programs.librewolf = {
enable = true;
settings = {
2024-06-03 22:10:25 -04:00
"browser.safebrowsing.blockedURIs.enabled" = true;
"browser.safebrowsing.downloads.enabled" = true;
2024-03-28 19:52:15 -04:00
"browser.safebrowsing.malware.enabled" = true;
"browser.safebrowsing.phishing.enabled" = true;
2024-04-07 22:16:33 -04:00
"browser.safebrowsing.provider.google.gethashURL" = "https://safebrowsing.google.com/safebrowsing/gethash?client=SAFEBROWSING_ID&appver=%MAJOR_VERSION%&pver=2.2";
"browser.safebrowsing.provider.google.updateURL" = "https://safebrowsing.google.com/safebrowsing/downloads?client=SAFEBROWSING_ID&appver=%MAJOR_VERSION%&pver=2.2&key=%GOOGLE_SAFEBROWSING_API_KEY%";
2024-06-03 22:10:25 -04:00
"browser.safebrowsing.provider.google4.gethashURL" = "https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST";
"browser.safebrowsing.provider.google4.updateURL" = "https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST";
"general.autoScroll" = true;
2024-03-28 19:52:15 -04:00
"identity.fxaccounts.enabled" = true;
"middlemouse.paste" = false;
2024-06-03 22:10:25 -04:00
"privacy.clearOnShutdown.history" = false;
2024-03-28 19:52:15 -04:00
};
};
};
}