🐛 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
];
fonts.fontconfig.defaultFonts.monospace = "Maple Mono NF";
fonts.fontconfig.defaultFonts.monospace = [ "Maple Mono NF" ];
imports = [
./bat

View file

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