nixos: increase RAM in ERIS subsystem

This commit is contained in:
Ehmry - 2021-04-13 13:58:36 +02:00
parent 519d99af30
commit f5f54a2ec2
3 changed files with 29 additions and 2 deletions

View File

@ -15,7 +15,7 @@
in ${./rom-vfs.dhall}
"${config.block.partitions.store.guid}"
Sigil.Init.Resources::{ caps = 256, ram = Sigil.units.MiB 16 }
Sigil.Init.Resources::{ caps = 256, ram = Sigil.units.MiB 32 }
( VFS.vfs
[ VFS.leafAttrs
"plugin"

View File

@ -13,7 +13,7 @@
in ${./rom-vfs.dhall}
${../partition-type}
Sigil.Init.Resources::{=}
Sigil.Init.Resources::{ ram = Sigil.units.MiB 4 }
( VFS.vfs
[ VFS.leafAttrs
"tar"

27
tests/graphics.nix Normal file
View File

@ -0,0 +1,27 @@
{
name = "tor";
machine = { config, lib, pkgs, ... }: {
virtualisation.memorySize = 768;
genode.gui.consoleLog.enable = true;
genode.core.storeBackend = "fs";
hardware.genode.usb.enable = true;
hardware.genode.usb.storage.enable = true;
services.tor = {
# enable = true;
client.enable = false;
extraConfig = ''
Log [general,net,config,fs]debug stdout
'';
relay = {
enable = true;
port = 80;
role = "relay";
bridgeTransports = [ ];
};
};
};
}