2023-07-06 19:32:19 +00:00
|
|
|
{pkgs, ...}: {
|
2023-06-28 20:48:01 +00:00
|
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
|
|
|
profiles.default = {
|
2024-01-26 03:38:24 +00:00
|
|
|
search = {
|
|
|
|
default = "Kagi";
|
|
|
|
privateDefault = "DuckDuckGo";
|
|
|
|
order = ["Kagi" "DuckDuckGo"];
|
|
|
|
force = true;
|
|
|
|
engines = {
|
|
|
|
"Kagi" = {
|
|
|
|
definedAliases = ["@k"];
|
|
|
|
urls = [
|
|
|
|
{
|
|
|
|
template = "https://kagi.com/search";
|
|
|
|
params = [
|
|
|
|
{
|
|
|
|
name = "q";
|
|
|
|
value = "{searchTerms}";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
"DuckDuckGo" = {
|
|
|
|
definedAliases = ["@d"];
|
|
|
|
urls = [
|
|
|
|
{
|
|
|
|
template = "https://duckduckgo.com/";
|
|
|
|
params = [
|
|
|
|
{
|
|
|
|
name = "q";
|
|
|
|
value = "{searchTerms}";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-06-28 20:48:01 +00:00
|
|
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
|
|
|
bitwarden
|
2023-07-23 16:55:16 +00:00
|
|
|
clearurls
|
2024-01-31 02:46:24 +00:00
|
|
|
mailvelope
|
2023-09-08 00:43:24 +00:00
|
|
|
multi-account-containers
|
2023-06-28 20:48:01 +00:00
|
|
|
refined-github
|
|
|
|
ublock-origin
|
|
|
|
];
|
|
|
|
settings = {
|
|
|
|
"app.update.auto" = false;
|
2023-07-18 21:00:41 +00:00
|
|
|
"signon.rememberSignons" = false;
|
2023-06-28 20:48:01 +00:00
|
|
|
"browser.formfill.enable" = false;
|
|
|
|
"browser.tabs.firefox-view" = false;
|
|
|
|
"browser.aboutConfig.showWarning" = false;
|
|
|
|
"browser.bookmarks.addedImportButton" = false;
|
|
|
|
"extensions.pocket.enabled" = false;
|
|
|
|
"browser.newtabpage.activity-stream.feeds.section.topstories" = false;
|
|
|
|
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
|
|
|
"browser.newtabpage.pinned" = builtins.toJSON [
|
2023-07-06 19:32:19 +00:00
|
|
|
{url = "https://github.com/";}
|
|
|
|
{url = "https://git.jojodev.com/";}
|
2024-01-26 03:38:24 +00:00
|
|
|
{url = "https://git.jolheiser.com";}
|
2023-06-28 20:48:01 +00:00
|
|
|
];
|
2023-09-18 20:31:15 +00:00
|
|
|
"browser.fixup.domainwhitelist.go" = true; # golink
|
2023-06-28 20:48:01 +00:00
|
|
|
};
|
2023-07-06 19:32:19 +00:00
|
|
|
bookmarks = [
|
|
|
|
{
|
2023-07-13 20:35:19 +00:00
|
|
|
name = "Toolbar";
|
2023-07-06 19:32:19 +00:00
|
|
|
toolbar = true;
|
|
|
|
bookmarks = [
|
|
|
|
{
|
2023-07-13 20:35:19 +00:00
|
|
|
name = "Gitea";
|
|
|
|
bookmarks = [
|
|
|
|
{
|
2023-07-16 03:29:21 +00:00
|
|
|
name = "github";
|
2023-07-13 20:35:19 +00:00
|
|
|
tags = ["gitea"];
|
2023-07-16 03:29:21 +00:00
|
|
|
keyword = "go-gitea";
|
2023-07-13 20:35:19 +00:00
|
|
|
url = "https://github.com/go-gitea/gitea";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "jojodev";
|
|
|
|
tags = ["gitea"];
|
|
|
|
keyword = "jojodev";
|
|
|
|
url = "https://git.jojodev.com";
|
|
|
|
}
|
2023-08-31 19:53:44 +00:00
|
|
|
{
|
|
|
|
name = "gist";
|
|
|
|
tags = ["gitea" "gist"];
|
|
|
|
keyword = "gist";
|
|
|
|
url = "https://gist.jojodev.com";
|
|
|
|
}
|
2023-07-16 03:29:21 +00:00
|
|
|
{
|
|
|
|
name = "gitea";
|
|
|
|
tags = ["gitea"];
|
|
|
|
keyword = "gitea";
|
2024-01-27 02:09:20 +00:00
|
|
|
url = "https://gitea.com";
|
2023-07-16 03:29:21 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "try";
|
|
|
|
tags = ["gitea"];
|
|
|
|
keyword = "try";
|
|
|
|
url = "https://try.gitea.io";
|
|
|
|
}
|
2023-07-13 20:35:19 +00:00
|
|
|
];
|
2023-07-06 19:32:19 +00:00
|
|
|
}
|
2023-08-12 23:42:11 +00:00
|
|
|
{
|
|
|
|
name = "Tailnet";
|
|
|
|
bookmarks = [
|
|
|
|
{
|
|
|
|
name = "golink";
|
|
|
|
tags = ["tailscale"];
|
|
|
|
keyword = "go";
|
|
|
|
url = "http://go";
|
|
|
|
}
|
|
|
|
{
|
2024-02-04 06:18:24 +00:00
|
|
|
name = "jellyfin";
|
|
|
|
tags = ["jellyfin"];
|
|
|
|
keyword = "jellyfin";
|
|
|
|
url = "http://sencha:8096";
|
2023-08-12 23:42:11 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
2024-01-26 03:38:24 +00:00
|
|
|
{
|
|
|
|
name = "ugit";
|
|
|
|
tags = ["git" "ugit"];
|
|
|
|
keyword = "ugit";
|
|
|
|
url = "https://git.jolheiser.com";
|
|
|
|
}
|
2024-03-19 21:54:43 +00:00
|
|
|
{
|
|
|
|
name = "todo";
|
|
|
|
tags = ["vikunja" "todo"];
|
|
|
|
keyword = "todo";
|
|
|
|
url = "https://todo.jolheiser.com";
|
|
|
|
}
|
2023-07-06 19:32:19 +00:00
|
|
|
];
|
|
|
|
}
|
2024-01-26 03:38:24 +00:00
|
|
|
# Not in the toolbar, but still usable via keyword/searching
|
2023-08-12 23:42:11 +00:00
|
|
|
{
|
|
|
|
name = "Go Playground";
|
|
|
|
tags = ["golang"];
|
|
|
|
keyword = "play";
|
|
|
|
url = "https://go.dev/play/";
|
|
|
|
}
|
2023-07-06 19:32:19 +00:00
|
|
|
];
|
2023-06-28 20:48:01 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|