Add more bookmarks, add github as search provider

This commit is contained in:
Evie Litherland-Smith 2023-06-19 17:18:59 +01:00
parent 4e9d6044cc
commit 2c51701209

View file

@ -17,15 +17,11 @@
"extensions.formautofill.creditCards.enabled" = false; "extensions.formautofill.creditCards.enabled" = false;
"general.useragent.locale" = "en-GB"; "general.useragent.locale" = "en-GB";
"intl.locale.requested" = "en-GB,en-US"; "intl.locale.requested" = "en-GB,en-US";
"intl.regional_prefs.use_os_locales" = true; "intl.regional_prefs.use_os_locales" = false;
"media.eme.enabled" = true; "media.eme.enabled" = true;
"signon.management.page.breach-alerts.enabled" = false; "signon.management.page.breach-alerts.enabled" = false;
"signon.rememberSignons" = false; "signon.rememberSignons" = false;
"browser.newtabpage.pinned" = [ "browser.newtabpage.pinned" = [
{
title = "NixOS";
url = "https://nixos.org";
}
{ {
title = "NixOS Wiki"; title = "NixOS Wiki";
url = "https://nixos.wiki"; url = "https://nixos.wiki";
@ -36,7 +32,6 @@
} }
]; ];
}; };
bookmarks = [];
search = { search = {
default = "DuckDuckGo"; default = "DuckDuckGo";
force = true; force = true;
@ -49,16 +44,107 @@
}; };
"NixOS Wiki" = { "NixOS Wiki" = {
urls = [{template = "https://nixos.wiki/index.php?search={searchTerms}";}]; urls = [{template = "https://nixos.wiki/index.php?search={searchTerms}";}];
iconUpdateURL = "https://nixos.wiki/favicon.png"; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = ["@nw"]; definedAliases = ["@nw"];
}; };
"Arch Wiki" = { "Arch Wiki" = {
urls = [{template = "https://wiki.archlinux.org/index.php?search={searchTerms}";}]; urls = [{template = "https://wiki.archlinux.org/index.php?search={searchTerms}";}];
definedAliases = ["@aw"]; 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 = "Nix sites";
bookmarks = [
{
name = "NixOS Wiki";
tags = ["wiki" "nix"];
url = "https://nixos.wiki/";
}
{
name = "Arch Wiki";
tags = ["wiki" "arch"];
url = "https://wiki.archlinux.org/";
}
];
}
{
name = "Source control";
bookmarks = [
{
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";
}
{
name = "UKAEA GitLab";
tags = ["git" "source" "work" "UKAEA"];
url = "https://git.ccfe.ac.uk";
}
];
}
{
name = "Proton Mail";
tags = ["email"];
url = "https://mail.proton.me";
}
{
name = "Nextcloud";
tags = ["cloud" "storage" "federation" "xenia"];
url = "https://cloud.xenia.me.uk";
}
{
name = "Games";
bookmarks = [];
}
{
name = "Work";
bookmarks = [
{
name = "Nucleus";
tags = ["work" "UKAEA"];
url = "https://nucleus.ukaea.uk";
}
{
name = "Physics Summary";
tags = ["work" "UKAEA" "JET" "operations"];
url = "https://users.euro-fusion.org/pages/physics-summary/LatestSession.php";
}
{
name = "JET homepage";
tags = ["work" "UKAEA" "JET"];
url = "w3.jet.uk";
}
];
}
];
}
];
}; };
}; };
} }