2023-07-26 15:45:24 +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;
|
2023-07-18 10:27:18 +01:00
|
|
|
"browser.toolbars.bookmarks.visibility" = "newtab";
|
2023-06-16 11:38:30 +01:00
|
|
|
"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";
|
2023-08-10 11:59:59 +01:00
|
|
|
"intl.accept_languages" = "en-gb,en";
|
|
|
|
"intl.locale.requested" = "en-gb,en";
|
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";
|
2023-08-08 09:04:19 +01:00
|
|
|
url = "https://wiki.archlinux.org";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
title = "Hyprland Wiki";
|
|
|
|
url = "https://wiki.hyprland.org";
|
2023-06-19 16:59:37 +01:00
|
|
|
}
|
2023-06-16 11:38:30 +01:00
|
|
|
];
|
|
|
|
};
|
2023-06-16 08:48:18 +01:00
|
|
|
search = {
|
|
|
|
default = "DuckDuckGo";
|
|
|
|
force = true;
|
2023-07-26 15:45:24 +01:00
|
|
|
order = [ "DuckDuckGo" ];
|
2023-06-16 08:48:18 +01:00
|
|
|
engines = {
|
2023-08-30 08:57:48 +01:00
|
|
|
"OpenStreetMap" = {
|
|
|
|
urls = [{
|
|
|
|
template =
|
|
|
|
"https://www.openstreetmap.org/search?query={searchTerms}";
|
|
|
|
}];
|
|
|
|
definedAliases = [ "@om" ];
|
|
|
|
};
|
2023-08-03 21:26:48 +01:00
|
|
|
"NixOS Packages" = {
|
|
|
|
urls = [{
|
|
|
|
template =
|
|
|
|
"http://search.nixos.org/packages?channel=unstable&size=50&sort=relevance&type=packages&query={searchTerms}";
|
|
|
|
}];
|
2023-07-26 15:45:24 +01:00
|
|
|
icon =
|
|
|
|
"${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = [ "@np" ];
|
2023-06-16 08:48:18 +01:00
|
|
|
};
|
2023-08-03 21:26:48 +01:00
|
|
|
"NixOS Options" = {
|
|
|
|
urls = [{
|
|
|
|
template =
|
|
|
|
"http://search.nixos.org/options?channel=unstable&size=50&sort=relevance&type=packages&query={searchTerms}";
|
|
|
|
}];
|
|
|
|
icon =
|
|
|
|
"${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = [ "@np" ];
|
|
|
|
};
|
|
|
|
"Home Manager Options" = {
|
|
|
|
urls = [{
|
|
|
|
template =
|
|
|
|
"https://mipmip.github.io/home-manager-option-search/?query={searchTerms}";
|
|
|
|
}];
|
|
|
|
icon =
|
|
|
|
"${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = [ "@hm" ];
|
|
|
|
};
|
2023-08-22 10:19:19 +01:00
|
|
|
"PyPI packages" = {
|
|
|
|
urls = [{ template = "https://pypi.org/search/?q={searchTerms}"; }];
|
|
|
|
definedAliases = [ "@py" ];
|
|
|
|
};
|
2023-06-16 08:48:18 +01:00
|
|
|
"NixOS Wiki" = {
|
2023-07-26 15:45:24 +01:00
|
|
|
urls = [{
|
|
|
|
template = "https://nixos.wiki/index.php?search={searchTerms}";
|
|
|
|
}];
|
|
|
|
icon =
|
|
|
|
"${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = [ "@nw" ];
|
2023-06-16 08:48:18 +01:00
|
|
|
};
|
2023-06-19 16:59:37 +01:00
|
|
|
"Arch Wiki" = {
|
2023-07-26 15:45:24 +01:00
|
|
|
urls = [{
|
|
|
|
template =
|
|
|
|
"https://wiki.archlinux.org/index.php?search={searchTerms}";
|
|
|
|
}];
|
|
|
|
definedAliases = [ "@aw" ];
|
2023-06-19 16:59:37 +01:00
|
|
|
};
|
2023-06-19 17:18:59 +01:00
|
|
|
"GitHub" = {
|
2023-07-26 15:45:24 +01:00
|
|
|
urls =
|
|
|
|
[{ template = "https://github.com/search?q={searchTerms}"; }];
|
|
|
|
definedAliases = [ "@gh" ];
|
2023-06-19 17:18:59 +01:00
|
|
|
};
|
2023-08-03 21:26:48 +01:00
|
|
|
"MyNixOS" = {
|
|
|
|
urls =
|
|
|
|
[{ template = "https://mynixos.com/search?q={searchTerms}"; }];
|
|
|
|
icon =
|
|
|
|
"${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = [ "@mn" ];
|
|
|
|
};
|
2023-06-16 08:48:18 +01:00
|
|
|
};
|
|
|
|
};
|
2023-08-03 21:26:48 +01:00
|
|
|
bookmarks = [
|
|
|
|
{
|
|
|
|
name = "Wikipedia";
|
|
|
|
tags = [ "wiki" ];
|
|
|
|
keyword = "wiki";
|
|
|
|
url = "https://en.wikipedia.org";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "NixOS Wiki";
|
|
|
|
tags = [ "wiki" "nix" ];
|
|
|
|
url = "https://nixos.wiki/";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Arch Wiki";
|
|
|
|
tags = [ "wiki" "arch" ];
|
|
|
|
url = "https://wiki.archlinux.org/";
|
|
|
|
}
|
2023-08-08 09:04:19 +01:00
|
|
|
{
|
|
|
|
name = "Hyprland Wiki";
|
|
|
|
tags = [ "wiki" "hyprland" "wayland" "wlroots" ];
|
|
|
|
url = "https://wiki.hyprland.org/";
|
|
|
|
}
|
2023-08-03 21:26:48 +01:00
|
|
|
{
|
|
|
|
name = "Gitea";
|
|
|
|
tags = [ "git" "source" "xenia" ];
|
|
|
|
url = "https://git.xenia.me.uk";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "GitHub";
|
|
|
|
tags = [ "git" "source" ];
|
|
|
|
url = "https://github.com";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "GitLab";
|
|
|
|
tags = [ "git" "source" ];
|
|
|
|
url = "https://gitlab.com";
|
|
|
|
}
|
|
|
|
];
|
2023-06-16 07:14:07 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|