nixos/home/gui/firefox.nix

53 lines
1.9 KiB
Nix
Raw Normal View History

2023-06-16 08:48:18 +01:00
{pkgs, ...}: {
programs.firefox = {
enable = true;
profiles.evie = {
settings = {
"app.shield.optoutstudies.enabled" = false;
"browser.bookmarks.addedImportButton" = true;
"browser.bookmarks.showMobileBookmarks" = true;
"browser.contentblocking.category" = "strict";
"browser.startup.homepage" = "https://nixos.org";
"browser.search.region" = "GB";
"browser.search.isUS" = false;
"browser.warnOnQuitShortcut" = false;
"distribution.searchplugins.defaultLocale" = "en-GB";
"doh-rollout.home-region" = "GB";
"extensions.activeThemeID" = "firefox-alpenglow@mozilla.org";
"extensions.formautofill.creditCards.enabled" = false;
"general.useragent.locale" = "en-GB";
"intl.locale.requested" = "en-GB,en-US";
"intl.regional_prefs.use_os_locales" = true;
"media.eme.enabled" = true;
"signon.management.page.breach-alerts.enabled" = false;
"signon.rememberSignons" = false;
"browser.newtabpage.pinned" = [
{
title = "NixOS";
url = "https://nixos.org";
}
];
};
bookmarks = [];
2023-06-16 08:48:18 +01:00
search = {
default = "DuckDuckGo";
force = true;
order = ["DuckDuckGo"];
engines = {
"MyNixOS" = {
urls = [{template = "https://mynixos.com/search?q={searchTerms}";}];
2023-06-16 08:48:18 +01:00
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@np"];
};
"NixOS Wiki" = {
urls = [{template = "https://nixos.wiki/index.php?search={searchTerms}";}];
iconUpdateURL = "https://nixos.wiki/favicon.png";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = ["@nw"];
};
};
};
};
};
}