On Sun, Mar 10, 2013 at 01:21:45AM +0100, Peter Simons wrote:
> Nixos smartd users, please note that the configuration scheme has
> changed in this commit:
> 
>   
> https://github.com/NixOS/nixos/commit/415ff3c39a6b39e571ddece06faef0cc84a5c86c
> 
> smartd used to expect a list of devices to monitor. After this patch, it
> expects a list of attribute sets, which may have two attributes:
> 
>  - device: path to the device (required)
>  - options: smartd options to apply to this particular device (optional)
> 
> A concrete example configuration would be:
> 
>   services.smartd = {
>     enable = true;
>     devices = [ { device = "/dev/sda"; } { device = "/dev/sdb"; options = "-d 
> sat"; } ];
>   };
> 
> Furthermore, the config option 'deviceOpts' can be used to configure options
> that are applied to *every* device.

Perfect, some devices here required -d sat as well. Thank you!
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to