0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

nixos/testing: Improve option docs

This commit is contained in:
Robert Hensing 2022-06-27 20:06:30 +02:00
parent 4ce93fbae8
commit 6205d37747
12 changed files with 141 additions and 46 deletions

View file

@ -1,12 +1,19 @@
{ config, lib, moduleType, hostPkgs, ... }:
let
inherit (lib) mkOption types;
inherit (lib) mkOption types mdDoc;
in
{
options = {
interactive = mkOption {
description = "All the same options, but configured for interactive use.";
description = mdDoc ''
Tests [can be run interactively](#sec-running-nixos-tests-interactively).
When they are, the configuration will include anything set in this submodule.
You can set any top-level test option here.
'';
type = moduleType;
visible = "shallow";
};
};