mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 00:22:13 +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. |
||
---|---|---|
doc | ||
gui | ||
lib | ||
maintainers | ||
modules | ||
tests | ||
.gitignore | ||
.version | ||
COPYING | ||
default.nix | ||
README | ||
release-combined.nix | ||
release.nix |
*** NixOS *** NixOS is a Linux distribution based on the purely functional package management system Nix. More information can be found at http://nixos.org/nixos and in the manual in doc/manual.