nixos: increase RAM in ERIS subsystem
This commit is contained in:
parent
519d99af30
commit
f5f54a2ec2
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
in ${./rom-vfs.dhall}
|
in ${./rom-vfs.dhall}
|
||||||
"${config.block.partitions.store.guid}"
|
"${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.vfs
|
||||||
[ VFS.leafAttrs
|
[ VFS.leafAttrs
|
||||||
"plugin"
|
"plugin"
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
in ${./rom-vfs.dhall}
|
in ${./rom-vfs.dhall}
|
||||||
${../partition-type}
|
${../partition-type}
|
||||||
Sigil.Init.Resources::{=}
|
Sigil.Init.Resources::{ ram = Sigil.units.MiB 4 }
|
||||||
( VFS.vfs
|
( VFS.vfs
|
||||||
[ VFS.leafAttrs
|
[ VFS.leafAttrs
|
||||||
"tar"
|
"tar"
|
||||||
|
|
|
@ -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 = [ ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue