From f1922cdbdc608b1f1f85a1d80310b54e89d0e9f3 Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 16 Aug 2020 20:48:03 +0200 Subject: smartmontools: fix missing hostname in notifications This properly registers some missing dependencies of smartd_warning.sh. --- nixos/modules/services/monitoring/smartd.nix | 4 ---- 1 file changed, 4 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/services/monitoring/smartd.nix b/nixos/modules/services/monitoring/smartd.nix index a3612be3cc2..2cc9f043cf0 100644 --- a/nixos/modules/services/monitoring/smartd.nix +++ b/nixos/modules/services/monitoring/smartd.nix @@ -239,11 +239,7 @@ in systemd.services.smartd = { description = "S.M.A.R.T. Daemon"; - wantedBy = [ "multi-user.target" ]; - - path = [ pkgs.nettools ]; # for hostname and dnsdomanname calls in smartd - serviceConfig.ExecStart = "${pkgs.smartmontools}/sbin/smartd ${lib.concatStringsSep " " cfg.extraOptions} --no-fork --configfile=${smartdConf}"; }; -- cgit 1.4.1