From b5ab31cbd5544dcd9ef89373769f36276423d3c5 Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Thu, 19 Dec 2024 01:46:59 +0100 Subject: [PATCH] borg module: use enabled option --- modules/monit.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monit.nix b/modules/monit.nix index f5f468d..0eb0f04 100644 --- a/modules/monit.nix +++ b/modules/monit.nix @@ -18,7 +18,7 @@ in }; }; - config = { + config = lib.mkIf cfg.enable { sops.secrets = { monitMailserverConfig = {