mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 14:23:55 -05:00
36 lines
1.3 KiB
Nix
36 lines
1.3 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./alacritty ];
|
|
|
|
programs.librewolf = {
|
|
enable = true;
|
|
settings = {
|
|
"browser.safebrowsing.malware.enabled" = true;
|
|
"browser.safebrowsing.phishing.enabled" = true;
|
|
"browser.safebrowsing.blockedURIs.enabled" = true;
|
|
|
|
"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";
|
|
|
|
"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%";
|
|
"browser.safebrowsing.downloads.enabled" = true;
|
|
|
|
"identity.fxaccounts.enabled" = true;
|
|
|
|
"privacy.clearOnShutdown.history" = false;
|
|
|
|
"middlemouse.paste" = false;
|
|
"general.autoScroll" = true;
|
|
};
|
|
};
|
|
}
|
|
|