<runtime ram="72M" caps="1000" binary="init" config="noux-system.config">

	<requires>
		<file_system label="config"/>
		<file_system label="report"/>
		<file_system label="target"/>
		<file_system label="fonts"/>
		<nitpicker/>
		<rom label="vimrc"/>
	</requires>

	<content>
		<rom label="libc.lib.so"/>
		<rom label="libm.lib.so"/>
		<rom label="init"/>
		<rom label="terminal"/>
		<rom label="noux"/>
		<rom label="libc_noux.lib.so"/>
		<rom label="posix.lib.so"/>
		<rom label="ncurses.lib.so"/>
		<rom label="bash-minimal.tar"/>
		<rom label="coreutils-minimal.tar"/>
		<rom label="vim-minimal.tar"/>
		<rom label="vfs.lib.so"/>
	</content>

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

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

		<default caps="100"/>

		<start name="terminal">
			<resource name="RAM" quantum="4M"/>
			<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="noux" caps="500">
			<resource name="RAM" quantum="60M" />
			<exit propagate="yes"/>
			<config>
				<fstab>
					<tar name="bash-minimal.tar" />
					<tar name="coreutils-minimal.tar" />
					<tar name="vim-minimal.tar" />
					<dir name="dev"> <zero/> <null/> </dir>
					<dir name="rw">     <fs label="target"/> </dir>
					<dir name="report"> <fs label="report"/> </dir>
					<dir name="config"> <fs label="config"/> </dir>
					<dir name="tmp"> <ram /> </dir>
					<dir name="share"> <dir name="vim"> <rom name="vimrc"/> </dir> </dir>
				</fstab>
				<start name="/bin/bash">
					<env name="TERM" value="screen" />
					<env name="PS1" value="noux:$PWD> " />
				</start>
			</config>
			<route>
				<service name="File_system" label="target"> <parent label="target"/> </service>
				<service name="File_system" label="config"> <parent label="config"/> </service>
				<service name="File_system" label="report"> <parent label="report"/> </service>
				<service name="ROM" label="vimrc"> <parent label="vimrc"/> </service>
				<service name="Terminal"> <child name="terminal"/> </service>
				<any-service> <parent/> </any-service>
			</route>
		</start>
	</config>

</runtime>
