foot: allow merging include with external configurations (#2173)

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>
This commit is contained in:
Karun Sandhu 2026-01-30 15:21:00 +01:00 committed by GitHub
parent f77ee4f3dd
commit d60d37e02f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,4 @@
{ mkTarget, ... }:
{ lib, mkTarget, ... }:
mkTarget {
config = [
(
@ -19,9 +19,11 @@ mkTarget {
(
{ colors, inputs }:
{
programs.foot.settings.main.include = toString (colors {
templateRepo = inputs.tinted-foot;
});
programs.foot.settings.main.include = lib.singleton (
toString (colors {
templateRepo = inputs.tinted-foot;
})
);
}
)
];