diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-30 14:53:06 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-30 14:57:43 +0100 |
commit | e3e3666e24e2387503e89c3f8c53cdde54987a76 (patch) | |
tree | 375c0e6b06371533912665c12afae4911e614bc8 /nixos/modules/services/monitoring/smartd.nix | |
parent | 800f9c203728ee84d50181af6fa34ac9e5c04e73 (diff) | |
download | nixpkgs-e3e3666e24e2387503e89c3f8c53cdde54987a76.tar nixpkgs-e3e3666e24e2387503e89c3f8c53cdde54987a76.tar.gz nixpkgs-e3e3666e24e2387503e89c3f8c53cdde54987a76.tar.bz2 nixpkgs-e3e3666e24e2387503e89c3f8c53cdde54987a76.tar.lz nixpkgs-e3e3666e24e2387503e89c3f8c53cdde54987a76.tar.xz nixpkgs-e3e3666e24e2387503e89c3f8c53cdde54987a76.tar.zst nixpkgs-e3e3666e24e2387503e89c3f8c53cdde54987a76.zip |
smartd.nix: Fix broken option type
Diffstat (limited to 'nixos/modules/services/monitoring/smartd.nix')
-rw-r--r-- | nixos/modules/services/monitoring/smartd.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/services/monitoring/smartd.nix b/nixos/modules/services/monitoring/smartd.nix index b0619a16175..512e639721e 100644 --- a/nixos/modules/services/monitoring/smartd.nix +++ b/nixos/modules/services/monitoring/smartd.nix @@ -12,15 +12,14 @@ let device = mkOption { example = "/dev/sda"; - type = types.string; + type = types.str; description = "Location of the device."; }; options = mkOption { default = ""; example = "-d sat"; - type = types.string; - apply = pkgs.lib.concatStringsSep " "; + type = types.separatedString " "; description = "Options that determine how smartd monitors the device."; }; }; |