2023-10-02 08:15:37 +01:00
|
|
|
{ config, lib, pkgs, ... }: {
|
|
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
2023-10-06 13:56:11 +01:00
|
|
|
package = null; # Use system Firefox
|
2023-10-02 08:15:37 +01:00
|
|
|
profiles.default = {
|
|
|
|
settings = {
|
|
|
|
"app.shield.optoutstudies.enabled" = false;
|
|
|
|
"browser.bookmarks.addedImportButton" = false;
|
|
|
|
"browser.bookmarks.showMobileBookmarks" = false;
|
|
|
|
"browser.toolbars.bookmarks.visibility" = "always";
|
|
|
|
"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-10-06 13:56:11 +01:00
|
|
|
"extensions.activeThemeID" = "default-theme@mozilla.org";
|
2023-10-02 08:15:37 +01:00
|
|
|
"extensions.formautofill.creditCards.enabled" = false;
|
|
|
|
"general.useragent.locale" = "en-GB";
|
|
|
|
"intl.accept_languages" = "en-gb,en";
|
|
|
|
"intl.locale.requested" = "en-gb,en";
|
|
|
|
"intl.regional_prefs.use_os_locales" = false;
|
|
|
|
"media.eme.enabled" = true;
|
|
|
|
"privacy.webrtc.legacyGlobalIndicator" = false;
|
|
|
|
"signon.management.page.breach-alerts.enabled" = false;
|
|
|
|
"signon.rememberSignons" = false;
|
|
|
|
"browser.newtabpage.pinned" = [
|
|
|
|
{
|
|
|
|
title = "NixOS Wiki";
|
|
|
|
url = "https://nixos.wiki";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
title = "Arch Wiki";
|
|
|
|
url = "https://wiki.archlinux.org";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
title = "Hyprland Wiki";
|
|
|
|
url = "https://wiki.hyprland.org";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
search = {
|
|
|
|
default = "DuckDuckGo";
|
|
|
|
force = true;
|
|
|
|
order = [ "DuckDuckGo" ];
|
2023-10-06 13:56:11 +01:00
|
|
|
engines = {
|
|
|
|
"MyNixOS" = {
|
|
|
|
urls =
|
|
|
|
[{ template = "https://mynixos.com/search?q={searchTerms}"; }];
|
|
|
|
icon =
|
|
|
|
"${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = [ "@mn" ];
|
|
|
|
};
|
|
|
|
};
|
2023-10-02 08:15:37 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|