]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/monitoring/default.nix
Remove e-mails from monitoring files
[perso/Immae/Config/Nix.git] / modules / private / monitoring / default.nix
index 11861ad17ef769ab25873fe9df42219d8299e46b..d99124e836da9511f957b227a34924580a27422f 100644 (file)
@@ -41,7 +41,7 @@ in
       enable = true;
       mode = "0644";
       user = "root";
-      text = "MAILADDR naemon@immae.eu";
+      text = "MAILADDR ${myconfig.env.monitoring.email}";
     };
 
     # needed since extraResource is not in the closure
@@ -53,7 +53,7 @@ in
         use_syslog=1
         log_initial_states=1
         date_format=iso8601
-        admin_email=naemon@immae.eu
+        admin_email=${myconfig.env.monitoring.email}
 
         obsess_over_services=1
         ocsp_command=notify-master