summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-12-24 10:56:02 +0100
committerMartin Fischer <martin@push-f.com>2024-12-24 10:58:46 +0100
commit4871fd51d3a32fe6a4ce6c5051bc90e72faca70a (patch)
treecd36e4096f0445b8bcce4aec7e9ad37e69b25c34
parent85806a3e07c7caf6670639cd8c5b936fff858fd8 (diff)
graphical: set Firefox devPixelsPerPx to 1.2
-rw-r--r--nixos/parts/graphical.nix2
1 files changed, 2 insertions, 0 deletions
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
};