removed default from nix and added an example instead
This commit is contained in:
parent
987cc3cc71
commit
0d6bf85519
@ -23,11 +23,16 @@ in {
|
||||
settings = mkOption {
|
||||
type = with types; attrsOf (either str int);
|
||||
|
||||
default = {
|
||||
logFile = throw "Please specify outage-detector.settings.";
|
||||
host = "1.1.1.1";
|
||||
timeout = 2;
|
||||
};
|
||||
description = lib.mdDoc ''
|
||||
The settings for the outage-detector script.
|
||||
|
||||
Example:
|
||||
{
|
||||
logFile = /home/user/outage-detector.log;";
|
||||
host = "1.1.1.1";
|
||||
timeout = 2;
|
||||
};
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user