interactive-vm: convert into NixOS module

This commit is contained in:
Michael Hoang committed 2024-09-09 16:06:20 +10:00
1 parent ba66c22ec1
commit 0943a50ee7
3 files changed
+44 -46

No files matched your search

-2
View File
@@ -16,8 +16,6 @@ let
# a version of makeDiskImage which runs outside of the store
makeDiskImagesScript = args: (import ./make-disk-image.nix ({ inherit diskoLib; } // args)).impure;
makeVMRunner = args: import ./interactive-vm.nix ({ inherit diskoLib; } // args);
testLib = import ./tests.nix { inherit lib makeTest eval-config; };
# like lib.types.oneOf but instead of a list takes an attrset
# uses the field "type" to find the correct type in the attrset