diff --git a/home/program/firefox/default.nix b/home/program/firefox/default.nix index 36d6481..316a9ee 100644 --- a/home/program/firefox/default.nix +++ b/home/program/firefox/default.nix @@ -6,7 +6,15 @@ ... }@args: let - bookmarks = [ (mkBookmark "Dashboard" "https://home.voronind.com") ]; + darkModeIgnore = [ + "cloud.fsight.ru" + "codeberg.org" + "dav.voronind.com" + "fsmm.fsight.ru" + "git.voronind.com" + "github.com" + "home.voronind.com" + ]; searchEngines = [ (mkSearchEngine "4p" "4pda" @@ -43,6 +51,8 @@ let (mkSearchEngine "yt" "YouTube" "https://yt.voronind.com/search?q={searchTerms}") ]; + bookmarks = [ (mkBookmark "Dashboard" "https://home.voronind.com") ]; + extensions = [ # TODO: Use this after https://github.com/darkreader/darkreader/pull/12920 gets merged. # (mkExtension "addon@darkreader.org" "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi") @@ -59,15 +69,6 @@ let # (mkExtension "queryamoid@kaply.com" "https://github.com/mkaply/queryamoid/releases/download/v0.1/query_amo_addon_id-0.1-fx.xpi") ]; - darkModeIgnore = [ - "cloud.fsight.ru" - "dav.voronind.com" - "fsmm.fsight.ru" - "git.voronind.com" - "github.com" - "home.voronind.com" - ]; - prefs = [ # WARN: Remove when Dark Reader policies gets merged. (mkLockedPref "xpinstall.signatures.required" false)