2
0
Fork 0

WiP! usb store tests

This commit is contained in:
Emery Hemingway 2020-12-19 15:24:49 +01:00
parent 791694f168
commit 0b17eb8dd8
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,12 @@
{ config, lib, pkgs, ... }: {
genode.boot.storeBackend = "usb";
genode.gui.consoleLog.enable = true;
hardware.genode.usb = {
ehciSupport = true;
ohciSupport = false;
uhciSupport = false;
xhciSupport = false;
};
networking.interfaces.eth0.genode.driver = "ipxe";
services.tor = {
enable = true;
@ -19,7 +25,7 @@
systemd.services.tor.genode = {
enable = true;
interface = "eth0";
ramQuota = 1024;
ramQuota = 512;
extraVfs = pkgs.writeText "tor.vfs.dhall" ''
let VFS = (env:DHALL_GENODE).VFS

View File

@ -16,6 +16,7 @@
installPhase = "install -Dt $out/bin hello";
};
in {
genode.boot.storeBackend = "usb";
genode.init.children.hello = {
configFile = ./hello.dhall;
inputs = [ hello pkgs.genodePackages.vfs.lib ];