summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorpacien <pacien.trangirard@pacien.net>2020-08-16 20:48:03 +0200
committerpacien <pacien.trangirard@pacien.net>2020-08-16 20:48:03 +0200
commitf1922cdbdc608b1f1f85a1d80310b54e89d0e9f3 (patch)
treec5c389c1dfb4a10165750ac832850933a910159e /nixos
parentfeab14d327e6b3b8c6bf9298b522b9b5719db3e0 (diff)
downloadnixpkgs-f1922cdbdc608b1f1f85a1d80310b54e89d0e9f3.tar
nixpkgs-f1922cdbdc608b1f1f85a1d80310b54e89d0e9f3.tar.gz
nixpkgs-f1922cdbdc608b1f1f85a1d80310b54e89d0e9f3.tar.bz2
nixpkgs-f1922cdbdc608b1f1f85a1d80310b54e89d0e9f3.tar.lz
nixpkgs-f1922cdbdc608b1f1f85a1d80310b54e89d0e9f3.tar.xz
nixpkgs-f1922cdbdc608b1f1f85a1d80310b54e89d0e9f3.tar.zst
nixpkgs-f1922cdbdc608b1f1f85a1d80310b54e89d0e9f3.zip
smartmontools: fix missing hostname in notifications
This properly registers some missing dependencies of smartd_warning.sh.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/monitoring/smartd.nix4
1 files changed, 0 insertions, 4 deletions
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}";
     };