From a086511d5dc0a5f780fbcd64879e6b3d9f939ccf Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 17 Sep 2023 23:46:00 -0700 Subject: [PATCH] Check enable flag --- matrix-module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix-module.nix b/matrix-module.nix index 85b6385..fa611a5 100644 --- a/matrix-module.nix +++ b/matrix-module.nix @@ -86,7 +86,7 @@ in { }; }; - config = { + config = mkIf cfg.enable { fudo.secrets.host-secrets."${hostname}".matrixOpenIdConfig = { source-file = openIdConfig; target-file = "/run/matrix/openid.cfg";