nixos/modules: use defaultText/literalExample where applicable

Primarily to fix rendering of default values/examples but also
to avoid unnecessary work.
This commit is contained in:
Joachim Fasting
2017-03-07 14:06:08 +01:00
parent 540163e4a4
commit 15da23d5c1
8 changed files with 12 additions and 5 deletions
@@ -25,6 +25,7 @@ in {
package = mkOption {
type = types.path;
default = pkgs.fluentd;
defaultText = "pkgs.fluentd";
description = "The fluentd package to use.";
};
};