{pkgs, ...}: { programs.firefox = { enable = true; package = pkgs.wrapFirefox pkgs.firefox-unwrapped { extraPolicies = { ExtensionSettings = {}; }; }; profiles.ccr = { settings = { "browser.startup.homepage" = "https://google.it"; "browser.search.region" = "IT"; "browser.search.isUS" = false; "distribution.searchplugins.defaultLocale" = "it-IT"; "general.useragent.locale" = "it-IT"; "browser.bookmarks.showMobileBookmarks" = true; "browser.download.folderList" = 2; "browser.download.lastDir" = "/home/ccr/downloads/"; "browser.shell.checkDefaultBrowser" = false; }; }; }; home.sessionVariables = { MOZ_ENABLE_WAYLAND = 1; XDG_CURRENT_DESKTOP = "sway"; NIXOS_OZONE_WL = 1; }; }