also set firefox search config to force instead of default as it was breaking home-manager rebuilds
47 lines
1.2 KiB
Nix
47 lines
1.2 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
programs.firefox = {
|
|
enable = true;
|
|
# package = pkgs.librewolf;
|
|
profiles.blue = {
|
|
isDefault = true;
|
|
id = 0;
|
|
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
|
|
indie-wiki-buddy
|
|
bitwarden
|
|
darkreader
|
|
ff2mpv
|
|
i-dont-care-about-cookies
|
|
ublock-origin
|
|
unpaywall
|
|
dearrow
|
|
sponsorblock
|
|
return-youtube-dislikes
|
|
clearurls
|
|
youtube-shorts-block
|
|
youtube-high-definition
|
|
shinigami-eyes
|
|
];
|
|
search.force = "ddg"; # Set search engine to DuckDuckGo
|
|
settings = {
|
|
"browser.search.region" = "GB";
|
|
"browser.search.isUS" = false;
|
|
"distribution.searchplugins.defaultLocale" = "en-GB";
|
|
"general.useragent.locale" = "en-GB";
|
|
"identity.fxaccounts.enabled" = false;
|
|
"extensions.autoDisableScopes" = 0;
|
|
"browser.bookmarks.autoExportHTML" = true;
|
|
"browser.bookmarks.file" = "~/bookmarks.html";
|
|
};
|
|
};
|
|
policies = {
|
|
"OfferToSaveLogins" = false;
|
|
"DisablePocket" = true;
|
|
"AutofillAddressEnabled" = false;
|
|
"AutofillCreditCardEnabled" = false;
|
|
};
|
|
};
|
|
}
|