diff options
author | Eric Sagnes <eric.sagnes@gmail.com> | 2016-09-11 17:55:11 +0900 |
---|---|---|
committer | Eric Sagnes <eric.sagnes@gmail.com> | 2016-09-13 12:53:10 +0900 |
commit | 06c11a62b37ab1f95116bd8ee427043aeba198dc (patch) | |
tree | 22cee816914976c403cbf013e42fff023fc38f9b /nixos/modules/services/monitoring/smartd.nix | |
parent | ef04462ea9819bbdd813e9fbfa22d590265e77ea (diff) | |
download | nixpkgs-06c11a62b37ab1f95116bd8ee427043aeba198dc.tar nixpkgs-06c11a62b37ab1f95116bd8ee427043aeba198dc.tar.gz nixpkgs-06c11a62b37ab1f95116bd8ee427043aeba198dc.tar.bz2 nixpkgs-06c11a62b37ab1f95116bd8ee427043aeba198dc.tar.lz nixpkgs-06c11a62b37ab1f95116bd8ee427043aeba198dc.tar.xz nixpkgs-06c11a62b37ab1f95116bd8ee427043aeba198dc.tar.zst nixpkgs-06c11a62b37ab1f95116bd8ee427043aeba198dc.zip |
smartd module: optionSet -> submodule
Diffstat (limited to 'nixos/modules/services/monitoring/smartd.nix')
-rw-r--r-- | nixos/modules/services/monitoring/smartd.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/smartd.nix b/nixos/modules/services/monitoring/smartd.nix index 1017005226b..f2834f288f9 100644 --- a/nixos/modules/services/monitoring/smartd.nix +++ b/nixos/modules/services/monitoring/smartd.nix @@ -197,8 +197,7 @@ in devices = mkOption { default = []; example = [ { device = "/dev/sda"; } { device = "/dev/sdb"; options = "-d sat"; } ]; - type = types.listOf types.optionSet; - options = [ smartdOpts ]; + type = with types; listOf (submodule smartdOpts); description = "List of devices to monitor."; }; |