From 38df8bf46f0a88e11490de438100207a48040a9c Mon Sep 17 00:00:00 2001 From: Anomalocaridid <29845794+Anomalocaridid@users.noreply.github.com> Date: Tue, 6 Aug 2024 21:37:42 -0400 Subject: [PATCH] fix(home-manager/foot): avoid IFD (#300) --- modules/home-manager/foot.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/home-manager/foot.nix b/modules/home-manager/foot.nix index 2d9bd4d..ac7afa9 100644 --- a/modules/home-manager/foot.nix +++ b/modules/home-manager/foot.nix @@ -4,10 +4,11 @@ let cfg = config.programs.foot.catppuccin; enable = cfg.enable && config.programs.foot.enable; - theme = lib.ctp.fromINI (sources.foot + "/themes/catppuccin-${cfg.flavor}.ini"); in { options.programs.foot.catppuccin = lib.ctp.mkCatppuccinOpt { name = "foot"; }; - config.programs.foot = lib.mkIf enable { settings = theme; }; + config.programs.foot = lib.mkIf enable { + settings.main.include = sources.foot + "/themes/catppuccin-${cfg.flavor}.ini"; + }; }