nixos-config/sets/firefox.nix

31 lines
1.1 KiB
Nix
Raw Normal View History

2024-01-17 05:58:13 +00:00
{ ... }: {
programs.firefox = {
enable = true;
languagePacks = [ "en-US" "de" ];
preferences = {
"app.shield.outputstudies.enabled" = false;
"browser.urlbar.switchTabs.adoptIntoActiveWindow" = true;
"browser.newtabpage.activity-stream.feeds.topsites" = false;
"browser.newtabpage.activity-stream.feeds.section.topstories" = false;
};
policies.SearchEngines.Default = "duckduckgo";
policies.ExtensionSettings = {
"uBlock0@raymondhill.net" = {
installation_mode = "normal_installed";
install_url =
"https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
};
"@testpilot-containers" = {
installation_mode = "normal_installed";
install_url =
"https://addons.mozilla.org/firefox/downloads/latest/multi-account-containers/latest.xpi";
};
"sponsorBlocker@ajay.app" = {
installation_mode = "normal_installed";
install_url =
"https://addons.mozilla.org/firefox/downloads/latest/sponsorblock/latest.xpi";
};
};
};
}