From d60d37e02ff6f76d3ad0d56646dc6ef9e9633f05 Mon Sep 17 00:00:00 2001 From: Karun Sandhu Date: Fri, 30 Jan 2026 15:21:00 +0100 Subject: [PATCH] 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> --- modules/foot/hm.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/foot/hm.nix b/modules/foot/hm.nix index 08ed47d1..770d3a89 100644 --- a/modules/foot/hm.nix +++ b/modules/foot/hm.nix @@ -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; + }) + ); } ) ];