2023-06-16 08:48:18 +01:00
|
|
|
{pkgs, ...}: {
|
2023-06-16 07:14:07 +01:00
|
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
2023-06-27 11:41:18 +01:00
|
|
|
profiles.default = {
|
2023-06-16 11:38:30 +01:00
|
|
|
settings = {
|
|
|
|
"app.shield.optoutstudies.enabled" = false;
|
|
|
|
"browser.bookmarks.addedImportButton" = true;
|
|
|
|
"browser.bookmarks.showMobileBookmarks" = true;
|
|
|
|
"browser.contentblocking.category" = "strict";
|
|
|
|
"browser.search.region" = "GB";
|
|
|
|
"browser.search.isUS" = false;
|
|
|
|
"browser.warnOnQuitShortcut" = false;
|
|
|
|
"distribution.searchplugins.defaultLocale" = "en-GB";
|
|
|
|
"doh-rollout.home-region" = "GB";
|
2023-06-16 14:05:17 +01:00
|
|
|
"extensions.activeThemeID" = "firefox-alpenglow@mozilla.org";
|
2023-06-16 11:38:30 +01:00
|
|
|
"extensions.formautofill.creditCards.enabled" = false;
|
|
|
|
"general.useragent.locale" = "en-GB";
|
|
|
|
"intl.locale.requested" = "en-GB,en-US";
|
2023-06-19 17:18:59 +01:00
|
|
|
"intl.regional_prefs.use_os_locales" = false;
|
2023-06-16 11:38:30 +01:00
|
|
|
"media.eme.enabled" = true;
|
2023-07-10 17:08:28 +01:00
|
|
|
"privacy.webrtc.legacyGlobalIndicator" = false;
|
2023-06-16 11:38:30 +01:00
|
|
|
"signon.management.page.breach-alerts.enabled" = false;
|
|
|
|
"signon.rememberSignons" = false;
|
|
|
|
"browser.newtabpage.pinned" = [
|
2023-06-19 16:59:37 +01:00
|
|
|
{
|
|
|
|
title = "NixOS Wiki";
|
|
|
|
url = "https://nixos.wiki";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
title = "Arch Wiki";
|
|
|
|
url = "https:wiki.archlinux.org";
|
|
|
|
}
|
2023-06-16 11:38:30 +01:00
|
|
|
];
|
|
|
|
};
|
2023-06-16 08:48:18 +01:00
|
|
|
search = {
|
|
|
|
default = "DuckDuckGo";
|
|
|
|
force = true;
|
|
|
|
order = ["DuckDuckGo"];
|
|
|
|
engines = {
|
2023-06-16 14:05:17 +01:00
|
|
|
"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}";}];
|
2023-06-19 17:18:59 +01:00
|
|
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
2023-06-16 08:48:18 +01:00
|
|
|
definedAliases = ["@nw"];
|
|
|
|
};
|
2023-06-19 16:59:37 +01:00
|
|
|
"Arch Wiki" = {
|
|
|
|
urls = [{template = "https://wiki.archlinux.org/index.php?search={searchTerms}";}];
|
|
|
|
definedAliases = ["@aw"];
|
|
|
|
};
|
2023-06-19 17:18:59 +01:00
|
|
|
"GitHub" = {
|
|
|
|
urls = [{template = "https://github.com/search?q={searchTerms}";}];
|
|
|
|
definedAliases = ["@gh"];
|
|
|
|
};
|
2023-06-16 08:48:18 +01:00
|
|
|
};
|
|
|
|
};
|
2023-06-16 07:14:07 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|