11.stylix/modules/foot/hm.nix
2026-01-30 15:21:00 +01:00

30 lines
588 B
Nix

{ lib, mkTarget, ... }:
mkTarget {
config = [
(
{ fonts }:
{
programs.foot.settings.main = {
font = "${fonts.monospace.name}:size=${toString fonts.sizes.terminal}";
dpi-aware = "no";
};
}
)
(
{ opacity }:
{
programs.foot.settings.colors.alpha = opacity.terminal;
}
)
(
{ colors, inputs }:
{
programs.foot.settings.main.include = lib.singleton (
toString (colors {
templateRepo = inputs.tinted-foot;
})
);
}
)
];
}