🐛 fix(fonts): Fix font option type

This commit is contained in:
punkfairie 2024-11-02 16:09:59 -07:00
parent 0492771226
commit caa8c13784
Signed by: punkfairie
GPG key ID: 01823C057725C266
2 changed files with 5 additions and 2 deletions

View file

@ -29,7 +29,7 @@
maple-mono-NF maple-mono-NF
]; ];
fonts.fontconfig.defaultFonts.monospace = "Maple Mono NF"; fonts.fontconfig.defaultFonts.monospace = [ "Maple Mono NF" ];
imports = [ imports = [
./bat ./bat

View file

@ -6,12 +6,15 @@
rose-pine.enable = true; rose-pine.enable = true;
extraConfig = extraConfig =
let
fonts = config.fonts.fontconfig.defaultFonts.monospace;
in
# lua # lua
'' ''
config.enable_tab_bar = false config.enable_tab_bar = false
config.font = wezterm.font_with_fallback({ config.font = wezterm.font_with_fallback({
{ family = "${config.fonts.fontconfig.defaultFonts.monospace}" }, { family = "${builtins.elemAt fonts 0}" },
{ family = "FairiesevkaTerm Nerd Font Mono" }, { family = "FairiesevkaTerm Nerd Font Mono" },
{ {
family = "FiraCode Nerd Font", family = "FiraCode Nerd Font",