1 { config, lib, moduleType, hostPkgs, ... }:
3 inherit (lib) mkOption types;
7 interactive = mkOption {
9 Tests [can be run interactively](#sec-running-nixos-tests-interactively)
10 using the program in the test derivation's `.driverInteractive` attribute.
12 When they are, the configuration will include anything set in this submodule.
14 You can set any top-level test option here.
19 { config, lib, ... }: {
22 services.rabbitmq.enable = true;
25 # When running interactively ...
26 interactive.nodes.rabbitmq = {
27 # ... enable the web ui.
28 services.rabbitmq.managementPlugin.enable = true;
33 For details, see the section about [running tests interactively](#sec-running-nixos-tests-interactively).
41 interactive.qemu.package = hostPkgs.qemu;
42 interactive.extraDriverArgs = [ "--interactive" ];
43 passthru.driverInteractive = config.interactive.driver;