{ config, pkgs, ... }: { programs.firefox = { enable = true; package = pkgs.librewolf; policies = { Cookies = { "Allow" = [ "https://addy.io" "https://element.io" "https://discord.com" "https://github.com" "https://lemmy.cafe" "https://proton.me" ]; "Locked" = true; }; DisableTelemetry = true; DisableFirefoxStudies = true; ExtensionSettings = { # Catpuccin Mocha - Lavender "{8446b178-c865-4f5c-8ccc-1d7887811ae3}" = { install_url = "https://addons.mozilla.org/firefox/downloads/latest/catppuccin-mocha-lavender-git/latest.xpi"; installation_mode = "force_installed"; }; # Tridactyl "tridactyl.vim@cmcaine.co.uk" = { install_url = "https://addons.mozilla.org/firefox/downloads/latest/tridactyl-vim/latest.xpi"; installation_mode = "force_installed"; }; # uBlock Origin "uBlock0@raymondhill.net" = { install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"; installation_mode = "force_installed"; }; # Bitwarden "{446900e4-71c2-419f-a6a7-df9c091e268b}" = { install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi"; installation_mode = "force_installed"; }; # Dark Reader "addon@darkreader.org" = { install_url = "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi"; installation_mode = "force_installed"; }; }; FirefoxHome = { "Search" = false; }; HardwareAcceleration = true; Preferences = { "browser.preferences.defaultPerformanceSettings.enabled" = false; "browser.startup.homepage" = "about:home"; "browser.toolbar.bookmarks.visibility" = "newtab"; "browser.toolbars.bookmarks.visibility" = "newtab"; "browser.urlbar.suggest.bookmark" = false; "browser.urlbar.suggest.engines" = false; "browser.urlbar.suggest.history" = false; "browser.urlbar.suggest.openpage" = false; "browser.urlbar.suggest.recentsearches" = false; "browser.urlbar.suggest.topsites" = false; "browser.warnOnQuit" = false; "browser.warnOnQuitShortcut" = false; "places.history.enabled" = "false"; "privacy.resistFingerprinting" = true; "privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts" = true; }; }; }; }