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",