nixos-config/sets/firefox.nix

32 lines
1.1 KiB
Nix

{ ... }:
{
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";
};
};
};
}