1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-01-31 15:03:37 +00:00
.dotfiles/nixos/home/firefox.nix

83 lines
3.3 KiB
Nix
Raw Normal View History

2024-12-20 03:52:48 +00:00
{ pkgs, ... }: {
programs.firefox = {
enable = true;
profiles.default = {
isDefault = true;
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
canvasblocker
catppuccin-gh-file-explorer
privacy-badger
stylus
ublock-origin
violentmonkey
];
settings = {
"browser.newtabpage.activity-stream.default.sites" = "https://en.wikipedia.org/";
"browser.newtabpage.activity-stream.discoverystream.enabled" = false;
"browser.newtabpage.activity-stream.feeds.telemetry" = false;
"browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.havePinned" = "";
"browser.newtabpage.activity-stream.newtabWallpapers.wallpaper" = "dark-beach";
"browser.newtabpage.activity-stream.showSponsored" = false;
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
"browser.newtabpage.activity-stream.telemetry" = false;
"browser.newtabpage.activity-stream.topSitesRows" = 2;
"browser.newtabpage.pinned" = [
{
url = "https://discord.com/app/";
label = "Discord";
}
{
url = "https://pikidiary.lol/";
label = "PikiDiary";
}
{
url = "https://en.wikipedia.org/";
label = "Wikipedia";
}
];
"datareporting.healthreport.uploadEnabled" = false;
"font.name.monospace.x-western" = "Fira Code";
"layout.css.prefers-color-scheme.content-override" = 0;
};
bookmarks = [
{
name = "NixOS search";
url = "https://search.nixos.org/packages";
}
{
name = "Home Manager search";
url = "https://home-manager-options.extranix.com/";
}
{
name = "NUR search";
url = "https://nur.nix-community.org/";
}
{
name = "NixOS wiki";
url = "https://nixos.wiki/";
}
];
search = {
default = "DuckDuckGo";
engines = {
"Nix packages" = {
urls = [{
template = "https://search.nixos.org/packages";
params = [
{ name = "type"; value = "packages"; }
{ name = "query"; value = "{searchTerms}"; }
];
}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
};
"Bing".metaData.hidden = true;
"Google".metaData.hidden = true;
};
order = [ "DuckDuckGo" "Nix packages" ];
force = true;
};
};
};
}