nixconf/home-manager/firefox.nix
Gabriella Bere 97c2cb0ef3 set up declarative firefox
not able to switch to librewolf yet because the extensions and settings
config options dont work properly yet
2025-03-01 23:10:05 +00:00

42 lines
1.8 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.default = "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;
};
};
policies = {
"OfferToSaveLogins" = false;
"DisablePocket" = true;
"AutofillAddressEnabled" = false;
"AutofillCreditCardEnabled" = false;
};
};
}