hades: set mailaddr for mdadm

This commit is contained in:
Antoine Martin 2025-12-01 17:25:42 +01:00
parent ab2677dca5
commit af8f630205

View file

@ -24,6 +24,13 @@ in {
devices = ["/dev/sda" "/dev/sdb"];
};
# TODO: I've setup the address to avoid a spurious failure of the `mdmonitor`
# systemd unit, but sending email is not actually setup on this server. Might
# need to setup Postfix or msmtp
boot.swraid.mdadmConf = ''
MAILADDR=antoine@alarsyo.net
'';
boot.tmp.useTmpfs = true;
networking.hostName = "hades"; # Define your hostname.