From 4871fd51d3a32fe6a4ce6c5051bc90e72faca70a Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Tue, 24 Dec 2024 10:56:02 +0100 Subject: graphical: set Firefox devPixelsPerPx to 1.2 --- nixos/parts/graphical.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/parts/graphical.nix b/nixos/parts/graphical.nix index 1215781..d459c33 100644 --- a/nixos/parts/graphical.nix +++ b/nixos/parts/graphical.nix @@ -79,6 +79,8 @@ # (https://mozilla.github.io/policy-templates/#searchengines-this-policy-is-only-available-on-the-esr) Preferences = { + "layout.css.devPixelsPerPx" = "1.2"; # with this the default Firefox font size matches my terminal font size of 14px + "browser.uidensity" = 1; "browser.aboutConfig.showWarning" = false; "extensions.activeThemeID" = "firefox-compact-dark@mozilla.org"; # can be changed via UI despite this about:config setting being locked }; -- cgit v1.2.3