From 7513e5edf8c2ab2485260049ce8c03ac9f6ca2f7 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sun, 22 Oct 2023 18:53:26 +0200 Subject: [PATCH] fix(home-manager/sway): avoid IFD (#45) 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 0281bc0..b900330 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} + ''; }