From caa8c13784e519c48d5adee3918b137a336a68b5 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 2 Nov 2024 16:09:59 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(fonts):=20Fix=20font=20optio?= =?UTF-8?q?n=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/default.nix | 2 +- home/wezterm/default.nix | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/home/default.nix b/home/default.nix index d5d084f..a263c23 100644 --- a/home/default.nix +++ b/home/default.nix @@ -29,7 +29,7 @@ maple-mono-NF ]; - fonts.fontconfig.defaultFonts.monospace = "Maple Mono NF"; + fonts.fontconfig.defaultFonts.monospace = [ "Maple Mono NF" ]; imports = [ ./bat diff --git a/home/wezterm/default.nix b/home/wezterm/default.nix index e5b3dc9..c177dde 100644 --- a/home/wezterm/default.nix +++ b/home/wezterm/default.nix @@ -6,12 +6,15 @@ rose-pine.enable = true; extraConfig = + let + fonts = config.fonts.fontconfig.defaultFonts.monospace; + in # lua '' config.enable_tab_bar = false config.font = wezterm.font_with_fallback({ - { family = "${config.fonts.fontconfig.defaultFonts.monospace}" }, + { family = "${builtins.elemAt fonts 0}" }, { family = "FairiesevkaTerm Nerd Font Mono" }, { family = "FiraCode Nerd Font",