diff options
author | Jamie McClymont <jamie@kwiius.com> | 2020-05-22 15:15:32 +1200 |
---|---|---|
committer | Jamie McClymont <jamie@kwiius.com> | 2020-06-08 11:21:53 +1200 |
commit | 55912f3535217910b12e81f07fb10d70511a471b (patch) | |
tree | a2d4075cc7f4acc315f4e4081ad9fc0566375373 /nixos/tests/qboot.nix | |
parent | 2defee2981107428aae547773ddcf2cab65d2c6f (diff) |
nixos/qemu-vm: add option to use a non-standard BIOS
I'd like to change the default on x86 platforms to qboot at some point, since it saves a fair bit of startup time.
Diffstat (limited to 'nixos/tests/qboot.nix')
-rw-r--r-- | nixos/tests/qboot.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nixos/tests/qboot.nix b/nixos/tests/qboot.nix new file mode 100644 index 0000000000000..12aef6decfaed --- /dev/null +++ b/nixos/tests/qboot.nix @@ -0,0 +1,13 @@ +import ./make-test-python.nix ({ pkgs, ...} : { + name = "qboot"; + + machine = { ... }: { + virtualisation.bios = pkgs.qboot; + }; + + testScript = + '' + start_all() + machine.wait_for_unit("multi-user.target") + ''; +}) |