2021-03-20 19:47:57 +01:00
|
|
|
{
|
|
|
|
name = "usb";
|
|
|
|
machine = { pkgs, ... }: {
|
2021-04-09 16:39:06 +02:00
|
|
|
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!")
|
|
|
|
'';
|
|
|
|
}
|