diff --git a/wrappers/_shared.nix b/wrappers/_shared.nix index 4a891de2..6dd7bbac 100644 --- a/wrappers/_shared.nix +++ b/wrappers/_shared.nix @@ -58,7 +58,7 @@ in # Propagate extraFiles to the host modules (optionalAttrs (filesOpt != null) ( - mkIf (!cfg.wrapRc) ( + mkIf (cfg.enable && !cfg.wrapRc) ( setAttrByPath filesOpt ( listToAttrs ( map (