diff --git a/base/services/smartd.nix b/base/services/smartd.nix index de71e85..36a22ed 100644 --- a/base/services/smartd.nix +++ b/base/services/smartd.nix @@ -1,8 +1,18 @@ { config, pkgs, lib, ... }: { - services.smartd.enable = lib.mkDefault true; + services.smartd = { + enable = lib.mkDefault true; + notifications = { + mail = { + enable = true; + sender = "root@pvv.ntnu.no"; + recipient = "root@pvv.ntnu.no"; + }; + wall.enable = false; + }; + }; environment.systemPackages = lib.optionals config.services.smartd.enable (with pkgs; [ smartmontools ]); -} \ No newline at end of file +}