{...}: { programs.firefox = { enable = true; languagePacks = ["en-GB"]; policies = { BlockAboutProfiles = true; Containers = { Default = [ { name = "Personal"; icon = "fingerprint"; color = "purple"; } { name = "Work"; icon = "briefcase"; color = "blue"; } ]; }; Cookies = { Behavior = "reject-tracker-and-partition-foreign"; BehaviorPrivateBrowsing = "reject"; Locked = true; }; DefaultDownloadDirectory = "\${home}/Downloads"; DisableAppUpdate = true; DisableFirefoxAccounts = true; DisableFirefoxScreenshots = true; DisableFirefoxStudies = true; DisableFormHistory = true; DisablePocket = true; DisableProfileImport = true; DisableSetDesktopBackground = true; DisableSystemAddonUpdate = true; DisableTelemetry = true; DisplayBookmarksToolbar = "newtab"; DisplayMenuBar = "default-off"; DontCheckDefaultBrowser = true; EnableTrackingProtection = { Value = true; Locked = true; Cryptomining = true; Fingerprinting = true; }; ExtensionSettings = { "queryamoid@kaply.com" = { installation_mode = "force_installed"; install_url = "https://github.com/mkaply/queryamoid/releases/download/v0.1/query_amo_addon_id-0.1-fx.xpi"; }; "uBlock0@raymondhill.net" = { installation_mode = "force_installed"; install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"; }; "{8446b178-c865-4f5c-8ccc-1d7887811ae3}" = { installation_mode = "force_installed"; install_url = "https://addons.mozilla.org/firefox/downloads/latest/catppuccin-mocha-lavender-git/latest.xpi"; }; }; FirefoxHome = { Search = true; TopSites = false; SponsoredTopSites = false; Highlights = false; Pocket = false; SponsoredPocket = false; Snippets = false; Locked = true; }; FirefoxSuggest = { WebSuggestions = false; SponsoredSuggestions = false; ImproveSuggest = false; Locked = true; }; HardwareAcceleration = true; Homepage = { Locked = true; StartPage = "none"; }; ManagedBookmarks = [ # TODO update these {toplevel_name = "Managed Bookmarks";} { name = "Server"; children = [ { name = "Gitea"; url = "https://git.xenia.me.uk"; } { name = "Grafana Dashboard"; url = "https://grafana.xenia.me.uk"; } { name = "AdGuard Home"; url = "https://guard.xenia.me.uk"; } ]; } { name = "Documentation"; children = [ { name = "NixOS and Flakes"; url = "https://nixos-and-flakes.thiscute.world/"; } { name = "Home Manager Configuration Options"; url = "https://nix-community.github.io/home-manager/options.xhtml"; } { name = "Home Manager Option Search"; url = "https://mipmip.github.io/home-manager-option-search/"; } { name = "Stylix Docs"; url = "https://danth.github.io/stylix/"; } { name = "The Rust Book"; url = "https://doc.rust-lang.org/stable/book/"; } { name = "Rust by Example"; url = "https://doc.rust-lang.org/stable/rust-by-example/"; } { name = "Mozilla Policy Templates"; url = "https://mozilla.github.io/policy-templates/"; } { name = "Chrome Enterprise Policy List"; url = "https://chromeenterprise.google/policies/"; } ]; } { name = "Awesome Repos"; children = [ { name = "Emacs"; url = "https://github.com/emacs-tw/awesome-emacs"; } { name = "Hyprland"; url = "https://github.com/hyprland-community/awesome-hyprland"; } { name = "Gitea"; url = "https://gitea.com/gitea/awesome-gitea"; } ]; } ]; NewTabPage = false; NoDefaultBookmarks = true; OfferToSaveLogins = false; PasswordManagerEnabled = false; PDFjs = {Enabled = false;}; Permissions = { Autoplay = { Default = "block-audio-video"; }; }; PictureInPicture = {Enabled = true;}; PopupBlocking = {Default = true;}; Preferences = { "browser.bookmarks.addedImportButton" = false; "browser.bookmarks.showMobileBookmarks" = false; "browser.newtabpage.pinned" = [ { title = "NixOS Wiki"; url = "https://nixos.wiki"; } { title = "Arch Wiki"; url = "https://wiki.archlinux.org"; } { title = "Hyprland Wiki"; url = "https://wiki.hyprland.org"; } ]; "browser.search.region" = "GB"; "browser.warnOnQuitShortcut" = false; "extensions.activeThemeID" = "{c6698fd1-fe9b-4eae-95d5-fe1703820469}"; "intl.accept_languages" = "en-gb,en"; "intl.locale.requested" = "en-gb,en"; "intl.regional_prefs.use_os_locales" = false; "media.eme.enabled" = true; }; RequestedLocales = ["en-GB"]; SanitizeOnShutdown = { Cache = false; Cookies = false; Downloads = true; FormData = true; History = true; Sessions = true; SiteSettings = false; OfflineApps = false; Locked = true; }; SearchBar = "unified"; ShowHomeButton = true; StartDownloadsInTempDirectory = true; }; }; }