nixos/home/firefox/default.nix
Evie Litherland-Smith 55e72cb9cc Move doom flake contents back in
Doom emacs config is still separate repo, but flake contents are back

Remove work firefox profile, switched to chromium instead for Teams fix
2023-07-26 15:45:24 +01:00

121 lines
3.7 KiB
Nix

{ pkgs, ... }: {
programs.firefox = {
enable = true;
profiles.default = {
settings = {
"app.shield.optoutstudies.enabled" = false;
"browser.startup.homepage" = "https://cloud.xenia.me.uk";
"browser.bookmarks.addedImportButton" = true;
"browser.bookmarks.showMobileBookmarks" = true;
"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";
"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" = 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";
}
];
};
search = {
default = "DuckDuckGo";
force = true;
order = [ "DuckDuckGo" ];
engines = {
"MyNixOS" = {
urls =
[{ template = "https://mynixos.com/search?q={searchTerms}"; }];
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}";
}];
icon =
"${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@nw" ];
};
"Arch Wiki" = {
urls = [{
template =
"https://wiki.archlinux.org/index.php?search={searchTerms}";
}];
definedAliases = [ "@aw" ];
};
"GitHub" = {
urls =
[{ template = "https://github.com/search?q={searchTerms}"; }];
definedAliases = [ "@gh" ];
};
};
};
bookmarks = [{
name = "toolbar";
toolbar = true;
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/";
}
{
name = "Nextcloud";
tags = [ "cloud" "storage" "federation" "xenia" ];
url = "https://cloud.xenia.me.uk";
}
{
name = "Proton Mail";
tags = [ "email" ];
url = "https://mail.proton.me";
}
{
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";
}
];
}];
};
};
}