about summary refs log tree commit diff
path: root/nixosConfigurations/eonwe/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nixosConfigurations/eonwe/default.nix19
1 files changed, 6 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

Consider giving Nix/NixOS a try! <3