{ 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; }; }; }; }