nixos/*: convert internal option descriptions to MD

we'll have to do it eventually, may as well be now.
This commit is contained in:
pennae 2022-08-29 01:38:36 +02:00
parent ef176dcf7e
commit 9547123258
60 changed files with 116 additions and 116 deletions

View file

@ -139,7 +139,7 @@ in
};
system.dryActivationScript = mkOption {
description = "The shell script that is to be run when dry-activating a system.";
description = lib.mdDoc "The shell script that is to be run when dry-activating a system.";
readOnly = true;
internal = true;
default = systemActivationScript (removeAttrs config.system.activationScripts [ "script" ]) true;
@ -199,9 +199,9 @@ in
example = literalExpression ''"''${pkgs.busybox}/bin/env"'';
type = types.nullOr types.path;
visible = false;
description = ''
description = lib.mdDoc ''
The env(1) executable that is linked system-wide to
<literal>/usr/bin/env</literal>.
`/usr/bin/env`.
'';
};
};