packaged fira-mono nerd font with foot

This commit is contained in:
2026-11-14 15:50:07 +00:00
parent f6f505cc03
commit 2258a8bc7c

View File

@@ -14,12 +14,19 @@
pkgs, pkgs,
... ...
}: { }: {
# Simple wrapper for foot, sets background color to bright red # Simple wrapper for foot, sets background color to bright red
packages.foot = inputs.wrappers.wrappers.foot.wrap { packages.foot = let
inherit pkgs; fira-mono = pkgs.nerd-fonts.fira-mono;
settings = { fontsConfig = pkgs.makeFontsConf {
colors-dark.background = "FF0000"; fontDirectories = [fira-mono];
};
in
inputs.wrappers.wrappers.foot.wrap {
inherit pkgs;
env."FONTSCONFIG_FILE" = "${fontsConfig}";
settings = {
main.font = "FiraMono Nerd Font:size=18";
};
}; };
};
}; };
} }