From 9d6577acc1aedf11626d1eda84ce7a859a5dbe53 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Tue, 10 Sep 2024 15:51:18 -0400 Subject: [PATCH] Fix MDADM from notifying me every 2 seconds --- nixos/hardware/machines/server.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/hardware/machines/server.nix b/nixos/hardware/machines/server.nix index cd9eb34..762f93f 100644 --- a/nixos/hardware/machines/server.nix +++ b/nixos/hardware/machines/server.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, modulesPath, ... }: +{ config, outputs, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; @@ -22,6 +22,9 @@ "kvm-intel" ]; }; + swraid.mdadmConf = '' + MAILADDR jimbo@${outputs.secrets.jimDomain} + ''; }; # Mounting options