41556c5c4e
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
278 lines
5.2 KiB
TOML
278 lines
5.2 KiB
TOML
# Red Bear OS Full Configuration
|
|
# Desktop + RBOS branding + ext4 + input + Wayland + Qt6
|
|
# Build: make all CONFIG_NAME=redbear-full
|
|
# Live: make live CONFIG_NAME=redbear-full
|
|
#
|
|
# GPU driver stack (redox-driver-sys, linux-kpi, redox-drm, amdgpu): WIP crates
|
|
# need custom template (library-only, cargo install fails). Re-enable when fixed.
|
|
# KDE Frameworks + KWin: depend on qtdeclarative/qtwayland. Re-enable when ported.
|
|
# libinput/libevdev: WIP meson builds, not yet validated. Re-enable when tested.
|
|
# seatd: now builds; DRM lease/runtime validation is still open before enabling broadly.
|
|
|
|
include = ["desktop.toml", "redbear-legacy-base.toml", "redbear-legacy-desktop.toml", "redbear-device-services.toml", "redbear-netctl.toml"]
|
|
|
|
[general]
|
|
filesystem_size = 2048
|
|
|
|
[users.messagebus]
|
|
uid = 100
|
|
gid = 100
|
|
name = "messagebus"
|
|
home = "/nonexistent"
|
|
shell = "/usr/bin/ion"
|
|
|
|
[packages]
|
|
# Red Bear OS branding (os-release, hostname, motd)
|
|
redbear-release = {}
|
|
|
|
# Native Redox PCI/USB listing tools (lspci, lsusb)
|
|
redbear-hwutils = {}
|
|
|
|
# Redox-native netctl compatibility command
|
|
redbear-netctl = {}
|
|
redbear-netctl-console = {}
|
|
|
|
# Native network reporting and connect-scan tools
|
|
redbear-netstat = {}
|
|
redbear-traceroute = {}
|
|
redbear-mtr = {}
|
|
redbear-nmap = {}
|
|
|
|
# Package builder / recipe utility
|
|
cub = {}
|
|
|
|
# Terminal file manager (Midnight Commander port)
|
|
mc = {}
|
|
|
|
# ext4 filesystem support (our custom port)
|
|
ext4d = {}
|
|
|
|
# Firmware loading + Wi-Fi control plane
|
|
redbear-firmware = {}
|
|
firmware-loader = {}
|
|
redbear-wifictl = {}
|
|
|
|
# Input layer
|
|
evdevd = {}
|
|
udev-shim = {}
|
|
|
|
# Desktop/session plumbing
|
|
dbus = {}
|
|
redbear-sessiond = {}
|
|
redbear-dbus-services = {}
|
|
redbear-notifications = {}
|
|
redbear-upower = {}
|
|
redbear-udisks = {}
|
|
redbear-polkit = {}
|
|
|
|
# Diagnostic tool
|
|
redbear-info = {}
|
|
|
|
# IOMMU validation surface
|
|
iommu = {}
|
|
|
|
# Process monitor
|
|
htop = {}
|
|
|
|
# Wayland protocol
|
|
libwayland = {}
|
|
|
|
# Keyboard support
|
|
libxkbcommon = {}
|
|
|
|
# Qt6 base (Core+Concurrent+Xml+Gui+Widgets, software rendering)
|
|
qtbase = {}
|
|
|
|
# Core Red Bear umbrella package
|
|
redbear-meta = {}
|
|
|
|
# Firmware directory for AMD/Intel GPU blobs
|
|
[[files]]
|
|
path = "/lib/firmware/amdgpu"
|
|
data = ""
|
|
directory = true
|
|
mode = 0o755
|
|
|
|
# ── Desktop services (not provided by base package) ────────────────
|
|
|
|
# Orbital display server + login + launcher
|
|
# desktop-minimal.toml had "nowait VT=3 orbital orblogin launcher"
|
|
[[files]]
|
|
path = "/usr/lib/init.d/20_orbital.service"
|
|
data = """
|
|
[unit]
|
|
description = "Orbital display server"
|
|
requires_weak = [
|
|
"10_net.target",
|
|
]
|
|
|
|
[service]
|
|
cmd = "orbital"
|
|
args = ["orblogin", "launcher"]
|
|
envs = { VT = "3" }
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
# desktop-minimal.toml: "inputd -A 2", "nowait getty 2", "nowait getty /scheme/debug/no-preserve -J"
|
|
# Neutralize and replace with proper service files
|
|
[[files]]
|
|
path = "/usr/lib/init.d/30_console.service"
|
|
data = """
|
|
[unit]
|
|
description = "Console terminals"
|
|
requires_weak = [
|
|
"20_orbital.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "getty"
|
|
args = ["2"]
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/29_activate_console.service"
|
|
data = """
|
|
[unit]
|
|
description = "Activate Orbital VT"
|
|
requires_weak = [
|
|
"20_orbital.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "inputd"
|
|
args = ["-A", "3"]
|
|
type = "oneshot"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/31_debug_console.service"
|
|
data = """
|
|
[unit]
|
|
description = "Debug console"
|
|
requires_weak = [
|
|
"20_orbital.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "getty"
|
|
args = ["/scheme/debug/no-preserve", "-J"]
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/12_dbus.service"
|
|
data = """
|
|
[unit]
|
|
description = "D-Bus system bus"
|
|
requires_weak = [
|
|
"10_net.target",
|
|
]
|
|
|
|
[service]
|
|
cmd = "ion"
|
|
args = [
|
|
"-c",
|
|
"mkdir -p /var/lib/dbus /run/dbus; rm -f /run/dbus/pid; dbus-uuidgen --ensure; dbus-daemon --system",
|
|
]
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/13_redbear-sessiond.service"
|
|
data = """
|
|
[unit]
|
|
description = "Red Bear session broker (org.freedesktop.login1)"
|
|
requires_weak = [
|
|
"12_dbus.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "ion"
|
|
args = [
|
|
"-c",
|
|
"sleep 5; redbear-sessiond",
|
|
]
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/14_redbear-upower.service"
|
|
data = """
|
|
[unit]
|
|
description = "UPower D-Bus service (org.freedesktop.UPower)"
|
|
requires_weak = [
|
|
"12_dbus.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "ion"
|
|
args = [
|
|
"-c",
|
|
"sleep 5; redbear-upower",
|
|
]
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/14_redbear-udisks.service"
|
|
data = """
|
|
[unit]
|
|
description = "UDisks2 D-Bus service (org.freedesktop.UDisks2)"
|
|
requires_weak = [
|
|
"12_dbus.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "ion"
|
|
args = [
|
|
"-c",
|
|
"sleep 5; redbear-udisks",
|
|
]
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/14_redbear-polkit.service"
|
|
data = """
|
|
[unit]
|
|
description = "PolicyKit1 D-Bus service (org.freedesktop.PolicyKit1)"
|
|
requires_weak = [
|
|
"12_dbus.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "ion"
|
|
args = [
|
|
"-c",
|
|
"sleep 5; redbear-polkit",
|
|
]
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/var/lib/dbus"
|
|
data = ""
|
|
directory = true
|
|
mode = 0o755
|
|
|
|
[[files]]
|
|
path = "/run/dbus"
|
|
data = ""
|
|
directory = true
|
|
mode = 0o755
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/13_iommu.service"
|
|
data = """
|
|
[unit]
|
|
description = "IOMMU DMA remapping daemon"
|
|
requires_weak = [
|
|
"00_pcid-spawner.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "/usr/lib/drivers/iommu"
|
|
type = "oneshot_async"
|
|
"""
|