Adapt desktop-contain to use templates

This commit is contained in:
Jeremy Soller 2024-01-04 13:46:01 -07:00
parent 96044654b0
commit 4d202c47cc
No known key found for this signature in database
GPG key ID: DCFCA852D3906975

View file

@ -1,46 +1,8 @@
# Default desktop configuration # Default desktop configuration using contain
include = ["../net.toml"] include = ["../desktop.toml"]
# General settings
[general]
# Filesystem size in MiB
filesystem_size = 512
# Do not prompt if settings are not defined
prompt = false
# Package settings
[packages]
audiod = {}
bash = {}
bootloader = {}
ca-certificates = {}
contain = {}
coreutils = {}
diffutils = {}
extrautils = {}
findutils = {}
installer = {}
installer-gui = {}
ion = {}
netdb = {}
netsurf = {}
orbdata = {}
orbital = {}
orbterm = {}
orbutils = {}
pkgutils = {}
redoxfs = {}
relibc = {}
resist = {}
smith = {}
userutils = {}
uutils = {}
git = {}
curl = {}
vim = {}
# Override orbital init to use contain_orblogin
[[files]] [[files]]
path = "/etc/init.d/20_orbital" path = "/etc/init.d/20_orbital"
data = """ data = """
@ -48,17 +10,14 @@ audiod
orbital contain_orblogin launcher orbital contain_orblogin launcher
""" """
# Override console init to use contain
[[files]] [[files]]
path = "/etc/init.d/30_console" path = "/etc/init.d/30_console"
data = """ data = """
getty 2 getty --contain 2
getty --contain debug: -J getty --contain debug: -J
""" """
[[files]]
path = "/etc/pkg.d/50_redox"
data = "https://static.redox-os.org/pkg"
[[files]] [[files]]
path = "/etc/contain.toml" path = "/etc/contain.toml"
data = """ data = """