From a181d68aec60d00c97cf35fa87280e9d86823d90 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 7 Feb 2024 07:27:46 +0000 Subject: [PATCH] Bring some firefox prefs over from home-manager module --- system/firefox.nix | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/system/firefox.nix b/system/firefox.nix index cb34de8f..24e021f7 100644 --- a/system/firefox.nix +++ b/system/firefox.nix @@ -77,7 +77,10 @@ }; HardwareAcceleration = true; Homepage = { + URL = "https://nixos.wiki"; + Additional = ["https://wiki.archlinux.org"]; Locked = true; + StartPage = "homepage-locked"; }; ManagedBookmarks = [ # TODO update these @@ -158,7 +161,32 @@ }; PictureInPicture = {Enabled = true;}; PopupBlocking = {Default = true;}; - Preferences = {}; + 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; + # Catppuccin Mocha (Lavender) theme + "extensions.activeThemeID" = "{8446b178-c865-4f5c-8ccc-1d7887811ae3}"; + "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 = true;