diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-03-20 18:39:29 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-03-20 18:39:29 +0300 |
commit | 773ba5e5ea810f104127b7ca28e541875f763599 (patch) | |
tree | 6b39260200371b2e51455c4510c37d29e890c3cc /nixosConfigurations | |
parent | 2023-03-20 (diff) |
2023-03-20
Diffstat (limited to '')
-rw-r--r-- | nixosConfigurations/eonwe/default.nix | 19 | ||||
-rw-r--r-- | nixosConfigurations/manwe/mailserver.nix | 1 |
2 files changed, 7 insertions, 13 deletions
diff --git a/nixosConfigurations/eonwe/default.nix b/nixosConfigurations/eonwe/default.nix index 3476e6d..e5080c3 100644 --- a/nixosConfigurations/eonwe/default.nix +++ b/nixosConfigurations/eonwe/default.nix @@ -25,6 +25,7 @@ with lib; { libvirtd.enable = true; qutebrowser.enable = true; mpd.enable = true; + nullmailer.enable = true; }; hm = { @@ -49,21 +50,13 @@ with lib; { services.mpd.musicDirectory = mkForce "/mnt/udata/music"; }; - services = { - smartd = { + services.smartd = { + enable = true; + notifications.mail = { enable = true; - notifications = { - test = true; - mail = { - # TODO - }; - }; + sender = "admin+smartd@${my.domain.shire}"; + recipient = "admin+smartd@${my.domain.shire}"; }; - - # nullmailer = { - # enable = true; - # me = config.networking.fqdn; - # }; }; # Usually stuff that is going to be compiled on this machine is going to have diff --git a/nixosConfigurations/manwe/mailserver.nix b/nixosConfigurations/manwe/mailserver.nix index f6f8d91..e8d1781 100644 --- a/nixosConfigurations/manwe/mailserver.nix +++ b/nixosConfigurations/manwe/mailserver.nix @@ -63,6 +63,7 @@ with lib; { "admin@${shire}" "ceo@${shire}" "postmaster@${shire}" + "root@${shire}" ]; }; "samwise@${shire}" = { |