summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/smartd.nix
Commit message (Collapse)AuthorAge
* nixos/smartd: Fix mail recipient fieldJoão Borges2023-08-05
| | | Having undisclosed recipients results in emails being considered spam as mentioned in #192147, by instead identifying the recipient the emails are no longer considered spam
* nixos/smartd: Refactor to use config.networking.fqdnOrHostNameRobert Hensing2022-10-06
|
* nixos/*: convert straggler options to MDpennae2022-08-31
|
* nixos/*: automatically convert option descriptionspennae2022-08-31
| | | | | | | | | | | | conversions were done using https://github.com/pennae/nix-doc-munge using (probably) rev f34e145 running nix-doc-munge nixos/**/*.nix nix-doc-munge --import nixos/**/*.nix the tool ensures that only changes that could affect the generated manual *but don't* are committed, other changes require manual review and are discarded.
* treewide: automatically md-convert option descriptionspennae2022-07-30
| | | | | | | | | | | | | | | | | | | | | | the conversion procedure is simple: - find all things that look like options, ie calls to either `mkOption` or `lib.mkOption` that take an attrset. remember the attrset as the option - for all options, find a `description` attribute who's value is not a call to `mdDoc` or `lib.mdDoc` - textually convert the entire value of the attribute to MD with a few simple regexes (the set from mdize-module.sh) - if the change produced a change in the manual output, discard - if the change kept the manual unchanged, add some text to the description to make sure we've actually found an option. if the manual changes this time, keep the converted description this procedure converts 80% of nixos options to markdown. around 2000 options remain to be inspected, but most of those fail the "does not change the manual output check": currently the MD conversion process does not faithfully convert docbook tags like <code> and <package>, so any option using such tags will not be converted at all.
* Merge pull request #148785 from pennae/more-option-doc-staticizingGraham Christensen2021-12-17
|\ | | | | treewide: more defaultText for options
| * treewide: set defaultText for options using simple path defaultspennae2021-12-09
| | | | | | | | | | adds defaultText for all options that set their default to a path expression using the ubiquitous `cfg` shortcut bindings.
* | nixos/*: add trivial defaultText for options with simple defaultspennae2021-12-02
|/
* utillinux: rename to util-linuxGraham Christensen2020-11-24
|
* smartmontools: use standard subject in notification emailspacien2020-08-16
| | | | | This makes the notification script use the subject generated by smartmontools itself both for consistency with other distros and to include the hostname.
* smartmontools: fix missing hostname in notificationspacien2020-08-16
| | | | This properly registers some missing dependencies of smartd_warning.sh.
* nixos/smartd: fix description for docbookJonathan Ringer2020-08-06
|
* nixos/smartd: add option for notifiction email sendertmplt2020-08-05
|
* [bot] nixos/*: remove unused arguments in lambdasvolth2018-07-20
|
* nixos: Move uses of stdenv.shell to runtimeShell.Shea Levy2018-03-01
|
* nixos/smartd: allow extra cli options for daemonKevin Hanselman2017-12-19
| | | | This enables further customization of smartd.
* smartd: fix 'cat: command not found' errorMatt McHenry2017-11-13
|
* Revert "smartd: set drive timeout"Peter Hoeg2017-10-14
| | | | This reverts commit 41306ca50580d66591058211676c463fcb30a2fd.
* smartd: set drive timeoutPeter Hoeg2017-10-14
|
* Getting rid of the var indirection and using a bin path insteadParnell Springmeyer2017-01-29
|
* Addressing PR feedbackParnell Springmeyer2017-01-28
|
* setcap-wrapper: Merging with upstream master and resolving conflictsParnell Springmeyer2017-01-25
|\
| * smartd module: optionSet -> submoduleEric Sagnes2016-09-13
| |
* | Adapting everything for the merged permissions wrappers work.Parnell Springmeyer2016-09-01
|/
* nixos: fix some typesJan Malakhovski2015-09-18
|
* nixos: make services.smartd much more helpfulJan Malakhovski2015-08-16
| | | | | | Now it generates notifications for auto-detected devices as well as for explicitly configured ones, sends well formed e-mails and supports immediate `wall` and `xmessage` notifications.
* nixos/manual: Use literalExample when feasible.aszlig2014-08-27
| | | | | | | | | Should bring most of the examples into a better consistency regarding syntactic representation in the manual. Thanks to @devhell for reporting. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2014-04-14
| | | | | | | | Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
* smartd.nix: Fix broken option typeEelco Dolstra2013-10-30
|
* Remove uses of the "merge" option attributeEelco Dolstra2013-10-28
| | | | | It's redundant because you can (and should) specify an option type, or an apply function.
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10