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
@@ -12,6 +12,7 @@ in {
type = types.path;
description = "The ECS agent package to use";
default = pkgs.ecs-agent;
defaultText = "pkgs.ecs-agent";
};
extra-environment = mkOption {