From 72ed9e7e178d52418c3f5b3d61e9abe8f3d1ff4b Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 27 Oct 2024 13:36:37 +0300 Subject: [PATCH] Chromium: Use style const for the fonts. --- home/config/chromium/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/config/chromium/default.nix b/home/config/chromium/default.nix index 14e2d35..5428132 100644 --- a/home/config/chromium/default.nix +++ b/home/config/chromium/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, config, ... }: { file = (pkgs.formats.json { }).generate "ChromiumConfig" { bookmark_bar.show_on_all_tabs = false; @@ -64,8 +64,8 @@ default_font_size = 17; minimum_font_size = 16; fonts = let - mono = "Terminess Nerd Font Mono"; - sans = "SF Pro"; + mono = config.style.font.monospace.name; + sans = config.style.font.sansSerif.name; in { fixed.Zyyy = mono;