1
0
Fork 0
This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues/pull-requests.
dotnix-archive/apps/gui/firefox.nix

100 lines
2.9 KiB
Nix

{pkgs, ...}: {
programs.firefox = {
enable = true;
profiles.default = {
search.default = "DuckDuckGo";
search.force = true;
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
bitwarden
clearurls
multi-account-containers
refined-github
ublock-origin
];
settings = {
"app.update.auto" = false;
"signon.rememberSignons" = false;
"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 [
{url = "https://mynixos.com/";}
{url = "https://github.com/";}
{url = "https://git.jojodev.com/";}
];
"browser.fixup.domainwhitelist.go" = true; # golink
};
bookmarks = [
{
name = "Toolbar";
toolbar = true;
bookmarks = [
{
name = "Gitea";
bookmarks = [
{
name = "github";
tags = ["gitea"];
keyword = "go-gitea";
url = "https://github.com/go-gitea/gitea";
}
{
name = "jojodev";
tags = ["gitea"];
keyword = "jojodev";
url = "https://git.jojodev.com";
}
{
name = "gist";
tags = ["gitea" "gist"];
keyword = "gist";
url = "https://gist.jojodev.com";
}
{
name = "gitea";
tags = ["gitea"];
keyword = "gitea";
url = "https://about.gitea.com";
}
{
name = "try";
tags = ["gitea"];
keyword = "try";
url = "https://try.gitea.io";
}
];
}
{
name = "Tailnet";
bookmarks = [
{
name = "golink";
tags = ["tailscale"];
keyword = "go";
url = "http://go";
}
{
name = "tclip";
tags = ["tailscale"];
keyword = "paste";
url = "http://paste";
}
];
}
];
}
{
name = "Go Playground";
tags = ["golang"];
keyword = "play";
url = "https://go.dev/play/";
}
];
};
};
}