From a43c8c363e694bac30847a1a51e75704554c9824 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Tue, 24 Oct 2023 17:43:21 +0100 Subject: [PATCH] fix: when any of the env files gets updated teh service will restart --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index 4d913f4..75e8240 100644 --- a/flake.nix +++ b/flake.nix @@ -215,6 +215,11 @@ "${cfg.env.mail}" ]; }; + restartTriggers = [ + "${cfg.env.ldap}" + "${cfg.env.discord}" + "${cfg.env.mail}" + ]; }; } // serviceGenerator scripts;