<runtime ram="16M" caps="512" binary="init">

	<requires>
		<file_system label="fonts"/>
		<file_system label="secrets"/>
		<nic/>
		<nitpicker/>
	</requires>

	<content>
		<rom label="init"/>
		<rom label="libc.lib.so"/>
		<rom label="libcrypto.lib.so"/>
		<rom label="libm.lib.so"/>
		<rom label="libssh.lib.so"/>
		<rom label="ssh_client"/>
		<rom label="terminal"/>
		<rom label="vfs_jitterentropy.lib.so"/>
		<rom label="vfs.lib.so"/>
		<rom label="vfs_lwip.lib.so"/>
		<rom label="zlib.lib.so"/>
	</content>

	<config>
		<parent-provides>
			<service name="CPU"/>
			<service name="LOG"/>
			<service name="PD"/>
			<service name="RM"/>
			<service name="ROM"/>
			<service name="File_system"/>
			<service name="Nic"/>
			<service name="Nitpicker"/>
			<service name="Timer"/>
		</parent-provides>

		<default-route>
			<any-service> <parent/> <any-child/> </any-service>
		</default-route>

		<default caps="100"/>

		<start name="terminal">
			<resource name="RAM" quantum="8M"/>
			<provides> <service name="Terminal"/> </provides>
			<config initial_columns="120" initial_rows="36">
				<!-- srcery color scheme -->
				<color index="0x0" bg="#1C1B19"/>
				<color index="0x1" bg="#EF2F27"/>
				<color index="0x2" bg="#519F50"/>
				<color index="0x3" bg="#FBB829"/>
				<color index="0x4" bg="#2C78BF"/>
				<color index="0x5" bg="#E02C6D"/>
				<color index="0x6" bg="#0AAEB3"/>
				<color index="0x7" bg="#918175"/>
				<color index="0x8" bg="#2D2C29"/>
				<color index="0x9" bg="#F75341"/>
				<color index="0xa" bg="#98BC37"/>
				<color index="0xb" bg="#FED06E"/>
				<color index="0xc" bg="#68A8E4"/>
				<color index="0xd" bg="#FF5C8F"/>
				<color index="0xe" bg="#53FDE9"/>
				<color index="0xf" bg="#FCE8C3"/>
				<vfs> <dir name="fonts"> <fs/> </dir> </vfs>
			</config>
			<route>
				<service name="File_system"> <parent label="fonts"/> </service>
				<any-service> <parent/> <any-child/> </any-service>
			</route>
		</start>

		<start name="ssh_client" caps="256">
			<resource name="RAM" quantum="8M" />
			<exit propagate="yes"/>
			<config>
				<vfs>
					<fs/>
					<dir name="dev">
						<log/>
						<jitterentropy name="random"/>
					</dir>
					<dir name="socket"> <lwip dhcp="yes"/> </dir>
				</vfs>
				<libc stdout="/dev/log" stderr="/dev/log" socket="/socket"/>
			</config>
			<route>
				<service name="Terminal" label=""> <child name="terminal"/> </service>
				<service name="File_system"> <parent label="secrets"/> </service>
				<any-service> <parent/> <any-child/> </any-service>
			</route>
		</start>
	</config>

</runtime>
