{ pkgs, ... }: { programs.firefox = { enable = true; policies = { ExtensionSettings = { "uBlock0@raymondhill.net" = { default_area = "navbar"; install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"; installation_mode = "normal_installed"; private_browsing = true; }; "{d634138d-c276-4fc8-924b-40a0ea21d284}" = { default_area = "navbar"; install_url = "https://addons.mozilla.org/firefox/downloads/latest/1password-x-password-manager/latest.xpi"; installation_mode = "normal_installed"; private_browsing = true; }; "{9063c2e9-e07c-4c2c-9646-cfe7ca8d0498}" = { default_area = "menupanel"; install_url = "https://addons.mozilla.org/firefox/downloads/latest/old-reddit-redirect/latest.xpi"; installation_mode = "normal_installed"; private_browsing = true; }; "{d7742d87-e61d-4b78-b8a1-b469842139fa}" = { default_area = "menupanel"; install_url = "https://addons.mozilla.org/firefox/downloads/latest/vimium-ff/latest.xpi"; installation_mode = "normal_installed"; private_browsing = true; }; }; }; profiles.kassouni = { isDefault = true; bookmarks = { force = true; settings = [ { name = "wikipedia"; tags = [ "wiki" ]; keyword = "wiki"; url = "https://en.wikipedia.org/wiki/Special:Search?search=%s&go=Go"; } { name = "Nix sites"; toolbar = true; bookmarks = [ { name = "homepage"; url = "https://nixos.org/"; } { name = "wiki"; tags = [ "wiki" "nix" ]; url = "https://wiki.nixos.org/"; } ]; } ]; }; settings = { "browser.startup.homepage" = "about:blank"; "browser.compactmode.show" = true; "startup.homepage_welcome_url" = "about:blank"; "extensions.autoDisableScopes" = 0; "browser.newtabpage.enabled" = false; "identity.fxaccounts.enabled" = false; "browser.newtabpage.activity-stream.discoverystream.enabled" = false; "browser.newtabpage.activity-stream.enabled" = false; "browser.newtabpage.activity-stream.showSponsored" = false; "browser.newtabpage.activity-stream.showSponsoredTopSites" = false; "browser.newtabpage.activity-stream.widgets.enabled" = false; "browser.newtabpage.activity-stream.discoverystream.sections.enabled" = false; }; search = { force = true; default = "google"; }; }; }; }