From 59b2777950e12ca97bdbad8ba9a04c659e20e4f3 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sun, 22 Oct 2023 13:57:26 +0200 Subject: [PATCH] fix(home-manager/sway): avoid IFD Signed-off-by: Sefa Eyeoglu --- modules/home-manager/sway.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/home-manager/sway.nix b/modules/home-manager/sway.nix index 0281bc0a..b900330b 100644 --- a/modules/home-manager/sway.nix +++ b/modules/home-manager/sway.nix @@ -21,5 +21,7 @@ in lib.ctp.mkCatppuccinOpt "sway" config; config.wayland.windowManager.sway.extraConfigEarly = - lib.mkIf enable (builtins.readFile theme); + lib.mkIf enable '' + include ${theme} + ''; }