Skip to content

Commit 5d89929

Browse files
Kabuki94claude
andcommitted
feat(ssot): mios.toml [packages].sections + [packages.dev_overlay] -- consolidate user-defined section selection
Adds the missing piece that lets the dotfiles SSOT actually drive the RPM install. Previously the dev overlay blanket-installed every fenced ```packages-<cat>``` block in PACKAGES.md (minus a hardcoded skip list) -- which pulled in the full GNOME desktop, GDM, Phosh, gaming, etc. on a podman-backend dev VM that doesn't host its own session. [packages] sections = [...] sections to install on a deployed MiOS host (image-time, used by Containerfile + automation/build.sh in a follow-up). [packages.dev_overlay] sections = [...] subset for the Windows-side MiOS-DEV podman backend. NO gnome / phosh / gaming / android / looking-glass-build / nut / freeipa / ha / ceph -- the dev VM is a podman backend, not a workstation. GUIs run as Flatpaks (Ptyxis, Bazaar, Nautilus, Flatseal) routed through WSLg. KEEPS gpu-* (CDI plumbing for /dev/dxg), virt/storage/cockpit/build-toolchain, etc. Always-skipped (regardless of selection): kernel, boot, moby, bloat, critical -- WSL-incompatible or anti-pattern fence sections. Mirrors the existing [desktop].flatpaks pattern: configurator HTML edits the array, the build pipeline + dev overlay consume it. One config touchpoint per Architectural Law 5 (UNIFIED-AI-REDIRECTS: single SSOT, single resolver, single editor). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 1dbea1c commit 5d89929

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

usr/share/mios/mios.toml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,50 @@ name = "ghcr.io/mios-dev/mios"
189189
tag = "latest"
190190
local_tag = "localhost/mios:latest"
191191

192+
# ----------------------------------------------------------------------------
193+
# [packages] -- SSOT mapping mios.toml -> usr/share/mios/PACKAGES.md sections.
194+
# Operators tick / untick sections in the configurator HTML; the build
195+
# (Containerfile + automation/build.sh) and the MiOS-DEV live overlay
196+
# (Invoke-MiosOverlaySeed in mios-bootstrap/build-mios.ps1) both consume
197+
# this list instead of iterating every fenced ```packages-<cat>``` block.
198+
#
199+
# sections sections to install on a deployed MiOS host (image-time).
200+
# dev_overlay subset to install on the Windows-side MiOS-DEV podman
201+
# backend. Empty/unset = use a minimal sane default
202+
# (no GNOME shell, no Phosh, no gaming -- the dev VM is
203+
# a podman backend, not a desktop session; operators see
204+
# GUIs via flatpak windows routed through WSLg, e.g.
205+
# org.gnome.Ptyxis terminal).
206+
#
207+
# Always-skipped (regardless of selection): kernel, boot, moby, bloat,
208+
# critical -- these are either WSL-incompatible or anti-pattern fence
209+
# sections.
210+
# ----------------------------------------------------------------------------
211+
[packages]
212+
sections = [
213+
"base", "security", "utils", "build-toolchain", "containers",
214+
"cockpit", "storage", "virt", "guests",
215+
"gpu-mesa", "gpu-nvidia", "gpu-amd-compute", "gpu-intel-compute",
216+
"gnome", "phosh",
217+
"ai", "k3s", "k3s-selinux-build", "cockpit-plugins-build",
218+
"sbom-tools", "uki", "self-build", "network-discovery", "updater",
219+
"wintools", "gaming", "nut", "ceph", "freeipa", "ha",
220+
"looking-glass-build", "android",
221+
]
222+
223+
[packages.dev_overlay]
224+
# MiOS-DEV (podman-WSL2 backend on Windows) minimal-but-complete:
225+
# every operator/dev/security daemon + the GPU CDI plumbing for /dev/dxg,
226+
# but NO desktop session (gnome/phosh) -- Ptyxis/Bazaar/Nautilus run as
227+
# Flatpaks routed through WSLg, the dev VM doesn't host its own session.
228+
sections = [
229+
"base", "security", "utils", "build-toolchain", "containers",
230+
"cockpit", "storage", "virt",
231+
"gpu-mesa", "gpu-nvidia", "gpu-amd-compute", "gpu-intel-compute",
232+
"ai", "sbom-tools", "self-build", "network-discovery", "updater",
233+
"cockpit-plugins-build", "k3s-selinux-build", "uki",
234+
]
235+
192236
# ----------------------------------------------------------------------------
193237
# [bootstrap] -- behavior of mios-bootstrap.git/install.sh during Phase-0.
194238
# mode: auto | bootc | fhs

0 commit comments

Comments
 (0)