redox/config/base.toml

108 lines
1.5 KiB
TOML
Raw Normal View History

# Base configuration: This configuration is meant to be included by
# other configurations rather than use directly. It is the greatest
# common divisor of all other configurations and misses several
# parts necessary to create a bootable system.
# General settings
[general]
# Do not prompt if settings are not defined
prompt = false
2024-01-04 19:23:14 +01:00
[packages]
bootstrap = {}
2024-01-04 21:15:16 +01:00
escalated = {}
2024-01-04 19:23:14 +01:00
initfs = {}
2024-01-04 21:15:16 +01:00
ipcd = {}
2024-01-04 19:23:14 +01:00
kernel = {}
2024-01-04 21:15:16 +01:00
ptyd = {}
2024-01-04 19:23:14 +01:00
2024-01-04 19:08:53 +01:00
## Configuration files
2024-01-04 21:15:16 +01:00
[[files]]
path = "/etc/init.d/00_base"
data = """
ipcd
ptyd
escalated
"""
2024-01-04 19:08:53 +01:00
[[files]]
path = "/etc/hostname"
data = """
redox
"""
[[files]]
path = "/etc/redox-release"
data = "0.8.0"
## Symlinks for usrmerge
[[files]]
path = "/usr/bin"
data = "../bin"
symlink = true
[[files]]
path = "/usr/include"
data = "../include"
symlink = true
[[files]]
path = "/usr/lib"
data = "../lib"
symlink = true
[[files]]
path = "/usr/share"
data = "../share"
symlink = true
2024-01-04 19:08:53 +01:00
## /tmp directory with special mode
[[files]]
path = "/tmp"
data = ""
directory = true
# 0o1777
mode = 1023
2024-01-04 19:08:53 +01:00
## Device file symlinks
[[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
2024-01-04 19:36:45 +01:00
2024-01-04 19:40:24 +01:00
# Group settings
[[files]]
path = "/etc/group"
data = """
root;0;root
user;1000;user
sudo;1;user
"""
2024-01-04 19:36:45 +01:00
# User settings
[users.root]
password = "password"
uid = 0
gid = 0
name = "root"
home = "/root"
[users.user]
# Password is unset
password = ""