nixconf/home-manager/firefox.nix
Gabriella Bere 5eceeb635b set firefox bookmarks backup
firefox now backs up all bookmarks on exit to ~/bookmarks.html
i would rather it do this whenever the bookmarks file is modified but
this seems to be the only way outside of writing my own script for that
2025-03-02 03:15:35 +00:00

44 lines
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.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;
"browser.bookmarks.autoExportHTML" = true;
"browser.bookmarks.file" = "~/bookmarks.html";
};
};
policies = {
"OfferToSaveLogins" = false;
"DisablePocket" = true;
"AutofillAddressEnabled" = false;
"AutofillCreditCardEnabled" = false;
};
};
}