diff --git a/modules/features/foot/default.nix b/modules/features/foot/default.nix index e5ff486..e5b31a1 100644 --- a/modules/features/foot/default.nix +++ b/modules/features/foot/default.nix @@ -9,17 +9,20 @@ ]; }); # PerSystem, gives access to self' and inputs', as well as some helper functions - perSystem = { - inputs', - pkgs, - ... - }: { - # Simple wrapper for foot, sets background color to bright red - packages.foot = inputs.wrappers.wrappers.foot.wrap { - inherit pkgs; - settings = { - colors-dark.background = "FF0000"; + perSystem = {pkgs, ...}: { + # Simple wrapper for foot, sets background color to bright red + packages.foot = let + fira-mono = pkgs.nerd-fonts.fira-mono; + font-config = pkgs.makeFontsConf { + fontDirectories = [fira-mono]; + }; + in + inputs.wrappers.wrappers.foot.wrap { + inherit pkgs; + env."FONTCONFIG_FILE" = "${font-config}"; + settings = { + main.font = "FiraMono Nerd Font:size=18"; + }; }; - }; }; }