🐛 fix(fonts): Fix font option type
This commit is contained in:
parent
0492771226
commit
caa8c13784
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue