redox/config/x86_64/resist.toml

177 lines
2.2 KiB
TOML
Raw Normal View History

# Configuration for using resist
2021-12-01 16:46:09 +01:00
# General settings
[general]
# Filesystem size in MiB
filesystem_size = 256
2021-12-01 16:46:09 +01:00
# Do not prompt if settings are not defined
prompt = false
# Package settings
[packages]
2022-08-17 15:44:03 +02:00
bootloader = {}
bootstrap = {}
2021-12-01 16:46:09 +01:00
coreutils = {}
dash = {}
diffutils = {}
drivers = {}
escalated = {}
2021-12-01 16:46:09 +01:00
extrautils = {}
findutils = {}
gcc = {}
gnu-binutils = {}
gnu-make = {}
initfs = {}
2021-12-01 16:46:09 +01:00
ipcd = {}
2022-07-24 17:02:48 +02:00
kernel = {}
2021-12-01 16:46:09 +01:00
netdb = {}
netstack = {}
netutils = {}
ptyd = {}
resist = {}
userutils = {}
uutils = {}
# User settings
[users.root]
password = "password"
uid = 0
gid = 0
name = "root"
home = "/root"
[users.user]
# Password is unset
password = ""
[[files]]
path = "/etc/init.d/00_base"
data = """
ipcd
ptyd
pcid /etc/pcid.d/
escalated
2021-12-01 16:46:09 +01:00
"""
[[files]]
path = "/etc/init.d/10_net"
data = """
smolnetd
dnsd
dhcpd
"""
[[files]]
path = "/etc/init.d/20_resist"
data = """
export RUST_BACKTRACE full
resist /share/resist/redox/spec.toml
resist /share/resist/posix/base.toml
resist /share/resist/posix/shell.toml
shutdown
"""
[[files]]
path = "/etc/net/dns"
data = """
208.67.222.222
"""
[[files]]
path = "/etc/net/ip"
data = """
10.0.2.15
"""
[[files]]
path = "/etc/net/ip_router"
data = """
10.0.2.2
"""
[[files]]
path = "/etc/net/ip_subnet"
data = """
255.255.255.0
"""
[[files]]
path = "/etc/net/mac"
data = """
54-52-00-ab-cd-ef
"""
[[files]]
path = "/etc/pkg.d/50_redox"
data = "https://static.redox-os.org/pkg"
2022-04-26 16:48:09 +02:00
[[files]]
path = "/etc/redox-release"
2022-09-09 16:40:34 +02:00
data = "0.8.0alpha"
2022-04-26 16:48:09 +02:00
2021-12-01 16:46:09 +01:00
[[files]]
path = "/etc/group"
data = """
root;0;root
user;1000;user
sudo;1;user
"""
[[files]]
path = "/etc/hostname"
data = """
redox
"""
[[files]]
path = "/usr/bin"
2022-03-17 15:39:53 +01:00
data = "../bin"
2021-12-01 16:46:09 +01:00
symlink = true
[[files]]
path = "/usr/games"
2022-03-17 15:39:53 +01:00
data = "../games"
2021-12-01 16:46:09 +01:00
symlink = true
[[files]]
path = "/usr/include"
2022-03-17 15:39:53 +01:00
data = "../include"
2021-12-01 16:46:09 +01:00
symlink = true
[[files]]
path = "/usr/lib"
2022-03-17 15:39:53 +01:00
data = "../lib"
2021-12-01 16:46:09 +01:00
symlink = true
[[files]]
path = "/usr/share"
2022-03-17 15:39:53 +01:00
data = "../share"
2021-12-01 16:46:09 +01:00
symlink = true
[[files]]
path = "/tmp"
data = ""
directory= true
# 0o1777
mode = 1023
[[files]]
path = "/dev/null"
data = "null:"
symlink = true
[[files]]
path = "/dev/random"
data = "rand:"
symlink = true
[[files]]
path = "/dev/urandom"
data = "rand:"
symlink = true
[[files]]
path = "/dev/zero"
data = "zero:"
symlink = true