Closes: https://github.com/nix-community/stylix/issues/2171 Link: https://github.com/nix-community/stylix/pull/2173 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
30 lines
588 B
Nix
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;
|
|
})
|
|
);
|
|
}
|
|
)
|
|
];
|
|
}
|