
All configs except the minimal config already include it. Several of the drivers in the drivers recipe are essential for getting a system usable outside of VMs or very old hardware. For example the usbhidd driver.
44 lines
576 B
TOML
44 lines
576 B
TOML
# Net configuration: includes the base configuration and adds files required
|
|
# for networking
|
|
|
|
include = ["base.toml"]
|
|
|
|
# Package settings
|
|
[packages]
|
|
netstack = {}
|
|
netutils = {}
|
|
|
|
## Network init
|
|
[[files]]
|
|
path = "/usr/lib/init.d/10_net"
|
|
data = """
|
|
smolnetd
|
|
dnsd
|
|
dhcpd -b
|
|
"""
|
|
|
|
## Default net configuration (optimized for QEMU)
|
|
[[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
|
|
"""
|