From e3e3666e24e2387503e89c3f8c53cdde54987a76 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 30 Oct 2013 14:53:06 +0100 Subject: [PATCH] smartd.nix: Fix broken option type --- nixos/modules/services/monitoring/smartd.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/monitoring/smartd.nix b/nixos/modules/services/monitoring/smartd.nix index b0619a161751..512e639721e4 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."; }; };