sigil/tests/usb.nix

17 lines
375 B
Nix
Raw Normal View History

2021-03-20 19:47:57 +01:00
{
name = "usb";
machine = { pkgs, ... }: {
genode.core.storeBackend = "fs";
2021-03-20 19:47:57 +01:00
hardware.genode.usb.enable = true;
hardware.genode.usb.storage.enable = true;
genode.init.children.hello = {
package = pkgs.hello;
configFile = ./hello.dhall;
};
};
testScript = ''
start_all()
machine.wait_until_serial_output("Hello, world!")
'';
}