hades: set mailaddr for mdadm
This commit is contained in:
parent
ab2677dca5
commit
af8f630205
1 changed files with 7 additions and 0 deletions
|
|
@ -24,6 +24,13 @@ in {
|
||||||
devices = ["/dev/sda" "/dev/sdb"];
|
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;
|
boot.tmp.useTmpfs = true;
|
||||||
|
|
||||||
networking.hostName = "hades"; # Define your hostname.
|
networking.hostName = "hades"; # Define your hostname.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue