mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
415ff3c39a
The 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. |
||
---|---|---|
.. | ||
config | ||
hardware | ||
installer | ||
misc | ||
profiles | ||
programs | ||
security | ||
services | ||
system | ||
tasks | ||
testing | ||
virtualisation | ||
module-list.nix | ||
rename.nix |