Nix configurations for my homelab
1{ config, ... }:
2{
3 imports = [ ./msmtp.nix ];
4
5 services.smartd = {
6 enable = true;
7 extraOptions = [ "-i 7200" ];
8 # defaults.monitored = "-a -M test"; # Used for testing sendmail
9 notifications = {
10 wall.enable = false;
11 x11.enable = false;
12 mail = {
13 enable = true;
14 sender = "host-${config.networking.hostName}@y6d.boo";
15 recipient = "diagnostics@mou.pink";
16 };
17 };
18 };
19}