2024-01-30 14:21:50 +00:00
|
|
|
{pkgs, ...}: {
|
2024-01-17 16:22:05 +00:00
|
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
|
|
|
package = null; # Use system Firefox
|
|
|
|
profiles.default = {
|
|
|
|
settings = {
|
|
|
|
"app.shield.optoutstudies.enabled" = false;
|
|
|
|
"browser.bookmarks.addedImportButton" = false;
|
|
|
|
"browser.bookmarks.showMobileBookmarks" = false;
|
|
|
|
"browser.toolbars.bookmarks.visibility" = "newtab";
|
|
|
|
"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";
|
|
|
|
# Catppuccin Mocha (Lavender) theme
|
|
|
|
"extensions.activeThemeID" = "{8446b178-c865-4f5c-8ccc-1d7887811ae3}";
|
|
|
|
"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;
|
2024-01-30 14:21:50 +00:00
|
|
|
order = ["DuckDuckGo"];
|
2024-01-17 16:22:05 +00:00
|
|
|
engines = {
|
2024-02-02 06:43:23 +00:00
|
|
|
"Wikipedia" = {
|
|
|
|
urls = [{template = "https://en.wikipedia.org/wiki/Special:Search?search={searchTerms}&go=Go&ns0=1";}];
|
|
|
|
definedAliases = ["@w"];
|
|
|
|
};
|
|
|
|
"Arch Wiki" = {
|
|
|
|
urls = [{template = "https://wiki.archlinux.org/?search={searchTerms}";}];
|
|
|
|
definedAliases = ["@aw"];
|
|
|
|
};
|
|
|
|
"NixOS Wiki" = {
|
|
|
|
urls = [{template = "https://nixos.wiki/index.php?search={searchTerms}";}];
|
|
|
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = ["@nw"];
|
|
|
|
};
|
2024-01-17 16:22:05 +00:00
|
|
|
"MyNixOS" = {
|
2024-01-30 14:21:50 +00:00
|
|
|
urls = [{template = "https://mynixos.com/search?q={searchTerms}";}];
|
|
|
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = ["@mn"];
|
2024-01-17 16:22:05 +00:00
|
|
|
};
|
2024-02-02 06:43:23 +00:00
|
|
|
"Atlas SearXNG" = {
|
|
|
|
urls = [{template = "https://search.atlas.engineer/searxng/search?q={searchTerms}";}];
|
|
|
|
definedAliases = ["@a"];
|
|
|
|
};
|
2024-01-17 16:22:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|