-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmios.toml
More file actions
1153 lines (1073 loc) · 39.4 KB
/
mios.toml
File metadata and controls
1153 lines (1073 loc) · 39.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# mios-bootstrap/mios.toml -- 'MiOS' User Profile (single source of user truth)
#
# IMPORTANT: this file is the SSOT for code, not just runtime config.
# Every .ps1 / .sh / .py in mios.git + mios-bootstrap.git that reads a
# string, verb, option, arg, var, env export, venv path, dotfile body,
# version, image ref, package name, tag, glyph, dimension, color, or
# install path resolves through Get-MiosTomlValue / mios_toml_get
# against this file (with /etc/mios + ~/.config/mios as overlays).
#
# Hardcoded literals that match a TOML-shaped value are bugs -- lift
# them. Vendor defaults are allowed only as the resolver's -Default
# argument, never as the canonical value.
#
# THIS IS THE ONE FILE YOU EDIT. Every script in 'mios.git' and
# 'mios-bootstrap.git' that needs to know your username, hostname,
# base image, AI endpoint, flatpaks, profile features, free-form
# environment variables, etc. resolves through this file via a
# three-layer overlay:
#
# /usr/share/mios/mios.toml (vendor defaults, baked into image; lowest)
# /etc/mios/mios.toml (host-local overlay, written by bootstrap)
# ~/.config/mios/mios.toml (per-user overlay; highest)
#
# Higher layers shadow lower layers field-by-field. Bootstrap ships THIS
# file at the repo root as the canonical user-edit copy and stages it
# into /etc/mios/mios.toml at install time. The per-user copy is seeded
# from /etc/skel/.config/mios/mios.toml at useradd -m time.
#
# Resolver: tools/lib/userenv.sh (reads all three layers, exports MIOS_*
# env vars, merges [env] table verbatim). Sourced by Justfile,
# /etc/profile.d, and any tool that needs the resolved values.
#
# Format: TOML 1.0 -- https://toml.io/en/v1.0.0.
#
# Secrets policy. password_hash, luks_passphrase, and github_pat are
# NEVER read from a checked-in copy of this file. The bootstrap
# installer prompts interactively for them and writes them to
# root-owned mode-0600 files outside this profile. Leave the fields
# empty here.
# ----------------------------------------------------------------------------
# [meta] -- version + provenance scalars consumed by every framed surface
# (dashboard banner, install help, configurator chrome, fastfetch).
# ----------------------------------------------------------------------------
[meta]
mios_version = "0.2.4"
# ----------------------------------------------------------------------------
# [branding] -- taglines + frame chars. Per feedback_mios_messages_section_ssot.md
# frame_chars feeds every framed surface (dashboard, agreement banner, post-bootstrap
# pane). Operator-locked palette + glyph set; do not hardcode literals elsewhere.
# ----------------------------------------------------------------------------
[branding]
tagline = "My Personal Operating System"
tagline_long = "My Personal Operating System -- Immutable Fedora AI Workstation"
tagline_app = "My Personal Operating System"
[branding.dashboard]
frame_chars = "╭─╮│╰╯"
# ----------------------------------------------------------------------------
# [terminal] -- entry-point WT MiOS app geometry + scrollback. Operator
# 2026-05-09: the MiOS app window is 80 cols x 20 rows (the entry-point
# dashboard fits in 19 rows; row 20 is the prompt). [terminal.install] is
# the install-time dashboard window (40 rows) used during phase rendering.
#
# Chrome flags (acrylic / frameless / no scrollbar / no titlebar / focus mode)
# live in [theme] below.
# ----------------------------------------------------------------------------
[terminal]
cols = 80
rows = 20
scrollback_rows = 9000
frame_width = 80
frame_height = 19
right_margin = 0
[terminal.install]
cols = 80
rows = 40
# Reading mode -- larger centered window for outputs that don't fit in
# the canonical 80x20 portal (btop, long log tails, code review,
# multi-pane fastfetch, etc). `mios reading` resizes + re-centers the
# CURRENT MiOS window to these dims; `mios portal` flips it back to
# [terminal].cols/.rows. btop's launcher invokes `mios reading`
# automatically because btop's hardcoded minimum is 80x24 -- WSLg's
# effective viewport at the portal-size 80x20 is 75x18, below the
# minimum, so btop refuses to render.
[terminal.reading]
cols = 100
rows = 50
# Interactive-shell startup. The Windows pwsh profile body and the
# Linux bash login dotfile each invoke ONE thing on console spawn:
# the verb here, dispatched through the unified `mios <verb>`
# entry. Profile bodies do NOT inline-print anything (no
# Write-Host / no echo banners) -- the verb command is what
# renders. This keeps the profile a thin function-definition layer
# and makes "what shows up when I open MiOS" a single TOML edit.
#
# Vendor default = `mios mini` -- the compact framed banner +
# fastfetch info dashboard that fits inside the 80x20 portal. The
# FULL `mios dash` invocation (ASCII banner + per-service status +
# extended sys specs) is reserved for explicit operator-triggered
# render -- it doesn't fit in 80x20 and would push the prompt
# off-viewport on every shell spawn.
#
# Operators who want a silent shell set this to "" -- the profile
# body becomes truly inert. Operators who want a different first
# impression point it at any other MiOS verb (e.g. `mios help`).
#
# Same TOML key drives Windows pwsh + Linux bash. Per-platform
# overrides: [terminal.startup].windows / [terminal.startup].linux
# win over the global `verb` key if set. SSOT remains mios.toml --
# `mios update` re-bakes the startup verb dispatch on next bootstrap.
[terminal.startup]
verb = "mini"
windows = "mini"
linux = "mini"
# Minimum window size for WSLg-hosted GUI apps. Read by
# M:\MiOS\bin\mios-gui-watch.ps1 -- a background daemon that polls
# msrdc.exe processes and auto-resizes any newly-spawned RDP-RAIL
# window smaller than these dims to exactly these dims, centered
# on the cursor monitor.
#
# Operator 2026-05-10: months of "GUI windows never render" was
# actually "windows render at native X11 default sizes (e.g.
# 129x113 for xeyes) at arbitrary positions and look invisible
# against acrylic/transparent backgrounds." Force-resizing tiny
# windows to a sane minimum makes them findable.
#
# Once a window is auto-adopted (resized once) the operator can
# drag/resize freely -- the daemon only touches each window's
# initial spawn frame.
[terminal.gui_min]
# Vendor default sized for a ~3000x1700 work area (typical 1440p/QHD or
# 4K with 1.5x scaling); covers ~55% width and 60% height -- comfortable
# to read + manage without dominating the desktop. Operator override
# in ~/.config/mios/mios.toml or /etc/mios/mios.toml.
width = 1600
height = 1000
# ----------------------------------------------------------------------------
# [theme] -- WT MiOS profile chrome. Per feedback_mios_terminal_global_chrome.md
# the look is acrylic 50% transparent + frameless + no scrollbar + no titlebar
# + focus mode + bar cursor. Both useAcrylic + systemBackdrop are set so WT
# 1.16-1.18+ all render correctly. Apply per-profile only (don't pollute
# operator's other WT profiles).
# ----------------------------------------------------------------------------
[theme]
acrylic = true
opacity = 50
system_backdrop = "acrylic"
scrollbar_state = "hidden"
padding = "0"
launch_mode = "focus"
cursor_shape = "vintage" # steady half-block (operator 2026-05-10: make terminal cursor thicker -- thin "bar" was almost too thin on 4K)
[theme.font]
family = "GeistMono Nerd Font Mono"
size = 12
weight = "normal"
cell_w_px = 10
cell_h_px = 20
chrome_w_px = 20
chrome_h_px = 12
[theme.terminal]
scheme_name = "MiOS"
profile_name = "MiOS-WIN"
dev_profile_name = "MiOS-DEV"
hub_target_profile = "MiOS-DEV"
summon_keys = "win+space"
summon_window_name = "MiOS-DEV"
# Powerline glyphs feeding the rounded-powerline omp.json template at install
# time. Lift any hardcoded .. in omp templates to references here.
[theme.prompt]
powerline_left = ""
powerline_right = ""
leading_diamond = ""
trailing_diamond = ""
# ----------------------------------------------------------------------------
# [apps] -- native Windows app surface (Start Menu + Desktop + Pin to Start).
# AUMID controls Win11 taskbar grouping + Pin-to-Start identity.
# ----------------------------------------------------------------------------
[apps]
aumid = "MiOS.Workstation"
start_menu_folder = "MiOS"
hub_shortcut_name = "MiOS"
# ----------------------------------------------------------------------------
# [identity] -- Linux account, hostname, GECOS, login shell, group membership.
# Maps to MIOS_USER, MIOS_HOSTNAME, MIOS_USER_FULLNAME, MIOS_USER_SHELL,
# MIOS_USER_GROUPS.
# ----------------------------------------------------------------------------
[identity]
username = "mios"
fullname = "'MiOS' User"
hostname = "mios"
shell = "/bin/bash"
groups = ["wheel", "libvirt", "kvm", "video", "render", "input", "dialout", "docker"]
# ----------------------------------------------------------------------------
# [locale] -- system-wide defaults applied via systemd-localed at first boot.
# Maps to MIOS_TIMEZONE, MIOS_KEYBOARD, MIOS_LOCALE.
# ----------------------------------------------------------------------------
[locale]
timezone = "UTC"
keyboard_layout = "us"
language = "en_US.UTF-8"
# ----------------------------------------------------------------------------
# [auth] -- credential and SSH key policy.
# ssh_key_action: generate | existing | skip
# password_policy: interactive | hashed | none
# - interactive : prompt at install (recommended)
# - hashed : use the literal hash in password_hash (openssl passwd -6)
# - none : no password set; useful for kiosk / CI builds
# All secret fields stay empty in any tracked copy of this file.
# ----------------------------------------------------------------------------
[auth]
ssh_key_type = "ed25519"
ssh_key_action = "generate"
existing_ssh_key = ""
password_policy = "interactive"
password_hash = "" # never tracked; bootstrap writes mode-0600
luks_passphrase = "" # never tracked; FHS installer + LUKS only
github_pat = "" # never tracked; configures git credential helper
# ----------------------------------------------------------------------------
# [network] -- firewalld posture.
# Defaults match SECURITY.md (default zone "drop", ssh + cockpit allowed).
# ----------------------------------------------------------------------------
[network]
firewalld_default_zone = "drop"
allow_ssh = true
allow_cockpit = true # opens 9090/tcp
allow_libvirt_bridge = true # for VM networking
# ----------------------------------------------------------------------------
# [ports] -- SSOT for the canonical MiOS service ports. Used by:
# * 15-render-quadlets.sh -- substitutes MIOS_PORT_* env vars into
# Quadlet PublishPort= lines at image build.
# * build-mios.ps1 Phase 4 -- adds Windows Firewall inbound rules so
# LAN devices (phone, laptop, etc) can
# reach the dev VM's services.
# * mios.html configurator -- editable knobs for operator overrides.
# Each port is TCP. IPv4-bound (0.0.0.0:NNNN) inside the dev VM; WSL2's
# mirrored networking makes them reachable on Windows' all interfaces.
# ----------------------------------------------------------------------------
[ports]
forge = 3000 # Forgejo (self-hosted Forgejo Forge git+CI surface)
webui = 3030 # Open WebUI (operator-facing chat / agent UI)
ai = 8080 # LocalAI (OpenAI-compatible /v1 endpoint)
hermes = 8642 # Hermes-Agent OpenAI-compatible gateway
searxng = 8888 # SearXNG meta-search (Hermes web_search tool)
cockpit = 9090 # Cockpit web console (TLS; self-signed)
ollama = 11434 # Ollama HTTP API (raw model server)
# [ports.lan_firewall] -- Windows Firewall rule scope for the ports above.
# profiles: which Windows Firewall profiles get the inbound TCP allow rule.
# "Private" -- home / personal LAN
# "Domain" -- AD-joined corporate LAN
# "Public" -- coffee-shop wifi / airports (DEFAULT-EXCLUDED for security:
# Cockpit at :9090 over self-signed TLS is a juicy target on
# an untrusted SSID; leave this off unless you know why).
# expose: which service keys to expose. Default = every key in [ports].
# Operator can narrow this list to lock down individual services without
# moving the port number itself.
[ports.lan_firewall]
profiles = ["Private", "Domain"]
expose = ["forge", "webui", "ai", "hermes", "searxng", "cockpit", "ollama"]
# ----------------------------------------------------------------------------
# [ai] -- Local AI surface (Architectural Law 5: UNIFIED-AI-REDIRECTS).
# endpoint MUST stay on localhost; vendor cloud URLs are forbidden by audit
# (postcheck #12 enforces this in the active config).
# Maps to MIOS_AI_ENDPOINT, MIOS_AI_MODEL, MIOS_AI_EMBED_MODEL, MIOS_AI_KEY,
# MIOS_SYSTEM_PROMPT_FILE, MIOS_MCP_REGISTRY.
# ----------------------------------------------------------------------------
[ai]
endpoint = "http://localhost:8080/v1"
model = "qwen3.5:2b"
embed_model = "nomic-embed-text"
api_key = "" # empty for localhost; cloud needs a key
enable_ollama = true
enable_localai = true
mcp_registry = "/usr/share/mios/ai/v1/mcp.json"
system_prompt_file = "" # optional override; empty = use canonical
# Host RAM-driven default model selection. The bootstrap reads detected RAM
# and picks big_ram_model (>= big_ram_gb), mid_ram_model (>= mid_ram_gb),
# or small_ram_model otherwise. Operator can override the picked model in
# [ai].model above; these thresholds are the auto-picker's table.
[ai.host_thresholds]
big_ram_gb = 32
mid_ram_gb = 12
big_ram_model = "qwen3.5:14b"
mid_ram_model = "qwen3.5:2b"
small_ram_model = "phi4-mini:3.8b-q4_K_M"
# ----------------------------------------------------------------------------
# [containers.quadlets] -- Quadlet (.container) service auto-start lists.
#
# Operator-editable via mios.html in the browser. build-mios.ps1's
# overlay phase reads BOTH lists below and explicitly
# `systemctl start --no-block`s every named service after the Quadlet
# generator has rendered units from etc/containers/systemd/ +
# usr/share/containers/systemd/. The .service suffix is appended
# automatically -- name entries WITHOUT it.
#
# autostart : workstation-core services that come up on every fresh
# dev VM. No operator config required beyond mios.toml.
# Vendor default = cockpit-link + Forgejo git host +
# SearXNG metasearch + OpenWebUI + LocalAI + Ollama.
#
# optin : heavier / specialty services that EITHER require
# operator-supplied config (runner-token, ceph.conf,
# hermes/api.env, crowdsec/config.yaml) OR are heavy
# substrates (k3s, guacamole stack, pxe-hub) that don't
# make sense as dev-VM defaults. Add a name here to
# flip it on; remove to keep dormant.
#
# Operator-flagged 2026-05-10: "bake into mios.toml so operators
# can edit the list -- EVERYTHING is sourced from the mios.toml
# file and edited in the mios.html in live environments browser".
# ----------------------------------------------------------------------------
[containers.quadlets]
autostart = ["mios-cockpit-link", "mios-forge", "mios-searxng", "mios-webui", "mios-ai", "ollama"]
optin = []
# Available opt-in candidates (uncomment + add to `optin` above to enable):
# "mios-forgejo-runner" -- needs /etc/mios/forge/runner-token
# "mios-k3s" -- Kubernetes control plane (heavy on WSL)
# "guacd" -- Apache Guacamole daemon
# "guacamole-postgres" -- Postgres backend for Guacamole
# "mios-guacamole" -- Browser-RDP gateway (needs the 2 above)
# "mios-ceph" -- needs /etc/ceph/ceph.conf
# "mios-pxe-hub" -- PXE/iPXE boot server
# "mios-hermes" -- needs /etc/mios/hermes/api.env
# "crowdsec-dashboard" -- needs /etc/crowdsec/config.yaml
# ----------------------------------------------------------------------------
# [desktop] -- session preferences and Flatpak picks.
# desktop.flatpaks -> MIOS_FLATPAKS (comma-joined for the Containerfile arg).
# ----------------------------------------------------------------------------
[desktop]
session = "gnome"
color_scheme = "prefer-dark" # libadwaita / dconf color-scheme
# PROJECT INVARIANT: applications ship STRICTLY as Flatpaks. Only system
# dependencies (drivers, daemons, libraries, kernel, container runtime,
# system services) ship as RPMs in usr/share/mios/PACKAGES.md. Add every
# user-facing app here, never to PACKAGES.md.
flatpaks = [
# ── GTK theme extensions (so flatpaks honor host dark theme) ──
# Without these, every flatpak GTK app uses its bundled Adwaita
# fallback and ignores host dconf gtk-theme=adw-gtk3-dark.
# Operator-flagged 2026-05-10 "Nautilus STILL has olde GTK/CSS/
# Decorations/theming" -- root cause was missing flatpak theme
# extensions. Combined with mios.git's /etc/dconf/db/local.d/
# 00-mios-theme + per-flatpak GTK_THEME env override these
# produce a unified dark Adwaita look across system + flatpak.
"org.gtk.Gtk3theme.adw-gtk3-dark", # the dark theme itself
"org.gtk.Gtk3theme.adw-gtk3", # the light variant (for ADW_DEBUG_COLOR_SCHEME=force-light)
# ── Default session apps ──
"app.devsuite.Ptyxis", # terminal (renamed from org.gnome.Ptyxis 2026-Q1)
# Nautilus + Epiphany: install from the FEDORA flatpak remote, NOT
# flathub. Flathub's org.gnome.Nautilus / org.gnome.Epiphany are
# END-OF-LIFE (pinned to GNOME 3.28 runtime, years out of date) --
# that's why operator saw "old GTK / CSS / Decorations" on Nautilus
# despite all the dconf + override fixes. Fedora's flatpak remote
# tracks current GNOME (50.x as of Fedora 44+), built against the
# current libadwaita with modern rounded-corner decorations.
# build-mios.ps1's install loop routes any "fedora:<id>" prefix
# through `flatpak install fedora` instead of flathub.
# Nautilus modern: ONLY available as org.gnome.Nautilus.Devel on the
# gnome-nightly remote (Fedora flatpak registry doesn't carry Nautilus;
# Flathub's org.gnome.Nautilus is EOL on GNOME 3.28). Devel = nightly
# builds against current GNOME (50.x as of 2026-05) -- modern
# libadwaita CSS + rounded corner decorations.
"gnome-nightly:org.gnome.Nautilus.Devel", # file manager (gnome-nightly, current 50.x)
"fedora:org.gnome.Epiphany", # default browser (Fedora flatpak, current 50.3)
# ── App store / Flatpak management ──
# NOTE: "org.gnome.Software" was here but Flathub returns
# "Nothing matches" as of 2026-05 -- delisted or renamed.
# Operators add a Flatpak browser via mios.html (e.g. Warehouse).
"com.github.tchx84.Flatseal", # Flatpak permissions UI
"com.mattjakeman.ExtensionManager", # GNOME shell extensions (replaces gnome-tweaks)
# ── Developer (FOSS rebuild of VS Code; only IDE shipped globally) ──
"com.vscodium.codium", # VSCodium (replaces removed VSCodium RPM)
# ── Virt GUI front-ends (libvirt/qemu daemons stay as RPMs) ──
"org.virt_manager.Manager", # virt-manager (replaces RPM)
"org.remmina.Remmina", # SPICE/VNC/RDP viewer (replaces virt-viewer RPM)
# ── Gaming clients (Wine/Proton bundled inside Steam + Bottles) ──
"com.valvesoftware.Steam", # Steam (replaces RPM; bundles Proton)
"net.lutris.Lutris", # Lutris (replaces RPM)
"com.usebottles.bottles", # Wine/DXVK/winetricks for non-Steam apps
"io.github.dosbox_staging.dosbox-staging", # DOSBox (replaces RPM)
"com.github.Matoking.protontricks", # protontricks (replaces RPM)
# MangoHud ships as a Flatpak extension auto-pulled by Steam/Lutris/Bottles:
"org.freedesktop.Platform.VulkanLayer.MangoHud",
]
# ----------------------------------------------------------------------------
# [image] -- image references used at every layer of the pipeline.
# ref / branch : Day-2 'bootc switch' target on the deployed host.
# base : OCI base image used by Containerfile FROM.
# bib : bootc-image-builder image used by 'just iso/qcow2/wsl2/...'
# name / tag : remote registry path + tag for 'just push'.
# local_tag : local podman tag for 'just build' output.
# Maps to MIOS_IMAGE_REF, MIOS_BRANCH, MIOS_BASE_IMAGE, MIOS_BIB_IMAGE,
# MIOS_IMAGE_NAME, MIOS_IMAGE_TAG, MIOS_LOCAL_TAG.
# ----------------------------------------------------------------------------
[image]
ref = "ghcr.io/mios-dev/mios:latest"
branch = "main"
base = "ghcr.io/ublue-os/ucore-hci:stable-nvidia"
base_nvidia = "ghcr.io/ublue-os/ucore-hci:stable-nvidia"
base_no_nvidia = "ghcr.io/ublue-os/ucore-hci:stable"
bib = "quay.io/centos-bootc/bootc-image-builder:latest"
name = "ghcr.io/mios-dev/mios"
tag = "latest"
local_tag = "localhost/mios:latest"
machine_os_repo = "quay.io/podman/machine-os"
machine_os_tag = "6.0"
# ----------------------------------------------------------------------------
# [packages] -- SSOT mapping mios.toml -> usr/share/mios/PACKAGES.md sections.
# See mios.git/usr/share/mios/mios.toml for the canonical comment block;
# this file is the bootstrap-overlay default for new installs.
# Always-skipped (regardless of selection): kernel, boot, moby, bloat,
# critical.
# ----------------------------------------------------------------------------
[packages]
sections = [
"base", "security", "utils", "build-toolchain", "containers",
"cockpit", "storage", "virt", "guests",
"gpu-mesa", "gpu-nvidia", "gpu-amd-compute", "gpu-intel-compute",
"gnome", "gnome-core-apps", "phosh",
"ai", "k3s", "k3s-selinux-build", "cockpit-plugins-build",
"sbom-tools", "uki", "self-build", "network-discovery", "updater",
"wintools", "gaming", "nut", "ceph", "freeipa", "ha",
"looking-glass-build", "android",
]
[packages.dev_overlay]
# MiOS-DEV (podman-WSL2 backend on Windows) minimal-but-complete: every
# operator/dev/security daemon + GPU CDI plumbing + GNOME Flatpak
# runtime (portals/audio/theming for WSLg-routed Flatpaks: Ptyxis,
# Nautilus, Software, Epiphany, Flatseal, VSCodium). NO full GNOME session
# (gnome-shell / GDM / control-center) -- WSLg IS the compositor.
sections = [
"base", "security", "utils", "build-toolchain", "containers",
"cockpit", "storage", "virt",
"gpu-mesa", "gpu-nvidia", "gpu-amd-compute", "gpu-intel-compute",
"gnome-flatpak-runtime",
"ai", "sbom-tools", "self-build", "network-discovery", "updater",
"cockpit-plugins-build", "k3s-selinux-build", "uki",
]
# ----------------------------------------------------------------------------
# [packages.<section>] -- DEFINITIVE SSOT (v0.2.4+)
#
# Edit any [packages.<section>].pkgs list below to ADD, REMOVE, or
# REPLACE packages for that section. mios-bootstrap/mios.toml IS the
# user-edit copy -- changes here apply to every MiOS host that gets
# bootstrapped from this clone, no mios.git fork needed.
#
# Resolution order (TOML doesn't merge tables -- the highest layer
# REPLACES the section field-for-field):
# ~/.config/mios/mios.toml per-user override (highest)
# /etc/mios/mios.toml host/admin override
# /usr/share/mios/mios.toml vendor defaults (lowest)
#
# To EXTEND a section without re-typing the vendor list, copy the
# vendor list and append your additions; vendor changes flow forward
# on the next bootstrap (the resolver always reads your file as a
# whole table, not as a delta).
# ----------------------------------------------------------------------------
# ─────────────────────────────────────────────────────────────────────
# [packages.*] -- DEFINITIVE SSOT for the MiOS package surface.
# Each section below is a DNF install list. The packages.sh resolver
# (automation/lib/packages.sh) consumes these tables; PACKAGES.md is
# now a documentation shim that points operators here.
# ─────────────────────────────────────────────────────────────────────
[packages.repos]
pkgs = [
"rpmfusion-free-release-rawhide",
"rpmfusion-nonfree-release-rawhide",
"fedora-workstation-repositories",
"dnf-plugins-core",
"dnf5-plugins",
]
[packages.base]
pkgs = [
"policycoreutils-python-utils",
"selinux-policy-targeted",
"firewalld",
"audit",
"fapolicyd",
"crowdsec",
"usbguard",
]
[packages.moby]
pkgs = [
"moby-engine",
]
[packages.uki]
pkgs = [
"systemd-ukify",
]
[packages.sbom-tools]
pkgs = [
"syft",
]
[packages.k3s-selinux-build]
pkgs = [
"selinux-policy-devel",
"git",
"make",
]
[packages.kernel]
pkgs = [
"kernel-modules-extra",
"kernel-devel",
"kernel-headers",
"kernel-tools",
"glibc-headers",
"glibc-devel",
"python3",
]
[packages.gnome]
pkgs = [
"gnome-shell",
"gnome-session-wayland-session",
"gnome-control-center",
"gnome-keyring",
"gdm",
"gnome-remote-desktop",
"gnome-backgrounds",
"gnome-shell-extension-appindicator",
"gnome-shell-extension-dash-to-dock",
"xdg-user-dirs",
"xdg-utils",
"xdg-desktop-portal",
"xdg-desktop-portal-gnome",
"xdg-desktop-portal-gtk",
"pipewire-alsa",
"pipewire-pulseaudio",
"wireplumber",
"gstreamer1",
"gstreamer1-plugins-base",
"gstreamer1-plugins-good",
"upower",
"gnome-bluetooth",
"bluez",
"bluez-tools",
"flatpak",
"gvfs",
"gvfs-smb",
"gvfs-mtp",
"NetworkManager-wifi",
"NetworkManager-openvpn-gnome",
"nm-connection-editor",
"glibc-langpack-en",
"qt6-qtbase-gui",
"qt6-qtwayland",
"qadwaitadecorations-qt5",
"adw-gtk3-theme",
]
[packages.gnome-flatpak-runtime]
pkgs = [
"xdg-user-dirs",
"xdg-utils",
"xdg-desktop-portal",
"xdg-desktop-portal-gnome",
"xdg-desktop-portal-gtk",
"pipewire-alsa",
"pipewire-pulseaudio",
"wireplumber",
"gstreamer1",
"gstreamer1-plugins-base",
"gstreamer1-plugins-good",
"gvfs",
"gvfs-smb",
"gvfs-mtp",
"glibc-langpack-en",
"qt6-qtbase-gui",
"qt6-qtwayland",
"qadwaitadecorations-qt5",
"adw-gtk3-theme",
"flatpak",
]
[packages.gnome-core-apps]
pkgs = [
# GNOME Software via Fedora repos (dnf), not Flathub. The Flathub
# `org.gnome.Software` ID returns "Nothing matches" as of 2026-05.
# dnf-installed gnome-software still browses Flathub apps via its
# flatpak plugin -- same UX, vendor install channel.
"gnome-software",
]
[packages.gpu-mesa]
pkgs = [
"mesa-vulkan-drivers",
"mesa-dri-drivers",
"mesa-va-drivers",
"vulkan-loader",
"vulkan-tools",
"libva-utils",
"linux-firmware",
]
[packages.gpu-amd-compute]
pkgs = [
"rocm-opencl",
"rocm-hip",
"rocm-runtime",
"rocm-smi",
"rocminfo",
]
[packages.gpu-intel-compute]
pkgs = [
"intel-compute-runtime",
"intel-media-driver",
"intel-level-zero",
"igt-gpu-tools",
]
[packages.gpu-nvidia]
pkgs = [
"akmod-nvidia",
"xorg-x11-drv-nvidia-cuda",
"nvidia-container-toolkit",
"nvidia-persistenced",
"nvidia-settings",
"xorg-x11-drv-nvidia-power",
"nvidia-container-selinux",
]
[packages.gpu-cdi-toolkits]
pkgs = [
]
[packages.virt]
pkgs = [
"qemu-kvm",
"libvirt",
"libvirt-daemon",
"virt-install",
"edk2-ovmf",
"swtpm",
"swtpm-tools",
"dnsmasq",
"mdevctl",
"libguestfs-tools",
"virt-v2v",
"qemu-device-display-virtio-gpu",
"virt-firmware",
"python3-cryptography",
]
[packages.containers]
pkgs = [
"podman",
"podman-compose",
"buildah",
"skopeo",
"bootc",
"osbuild",
"osbuild-composer",
"osbuild-selinux",
"composer-cli",
"rpm-ostree",
"crun",
"netavark",
"aardvark-dns",
"slirp4netns",
"composefs",
"container-selinux",
"qemu-img",
"image-builder",
"bootc-image-builder",
"dracut-live",
"squashfs-tools",
"containers-common",
"toolbox",
"kubectl",
"helm",
"podman-plugins",
"cosign",
]
[packages.build-toolchain]
pkgs = [
"make",
"gcc",
"gcc-c++",
"cmake",
"golang",
"selinux-policy-devel",
"binutils",
"pkgconf-pkg-config",
]
[packages.self-build]
pkgs = [
"bootc-base-imagectl",
"konflux-image-tools",
]
[packages.boot]
pkgs = [
"bootupd",
"dnf5-plugins",
"systemd-boot-unsigned",
"efibootmgr",
"systemd-ukify",
"binutils",
"efitools",
"sbsigntools",
"tpm2-tss",
]
[packages.cockpit]
pkgs = [
"cockpit",
"cockpit-system",
"cockpit-ws",
"cockpit-bridge",
"cockpit-storaged",
"cockpit-networkmanager",
"cockpit-podman",
"cockpit-machines",
"cockpit-ostree",
"cockpit-selinux",
"cockpit-files",
"pcp",
"pcp-system-tools",
]
[packages.wintools]
pkgs = [
"hyperv-tools",
"samba",
"samba-client",
"cifs-utils",
"freerdp-libs",
]
[packages.security]
pkgs = [
"crowdsec",
"crowdsec-firewall-bouncer-nftables",
"firewalld",
"fapolicyd",
"fapolicyd-selinux",
"usbguard",
"setroubleshoot-server",
"policycoreutils-python-utils",
"audit",
"tpm2-tools",
"clevis",
"clevis-luks",
"aide",
"openscap-scanner",
"scap-security-guide",
"libpwquality",
"nftables",
"policycoreutils",
"setools-console",
"cosign",
"iptables-legacy",
]
[packages.gaming]
pkgs = [
"gamemode",
"gnome-shell-extension-gamemode",
"vulkan-tools",
"steam-devices",
]
[packages.guests]
pkgs = [
"qemu-guest-agent",
"hyperv-daemons",
"open-vm-tools",
"spice-vdagent",
"spice-webdavd",
"libvirt-nss",
]
[packages.storage]
pkgs = [
"nfs-utils",
"rpcbind",
"glusterfs",
"glusterfs-fuse",
"glusterfs-server",
"ceph-common",
"iscsi-initiator-utils",
"targetcli",
"device-mapper-multipath",
"sg3_utils",
"lvm2",
"stratis-cli",
"stratisd",
"xfsprogs",
"btrfs-progs",
"e2fsprogs",
"mdadm",
"ntfs-3g",
]
[packages.ceph]
pkgs = [
"ceph-common",
"cephadm",
"ceph-fuse",
"ceph-selinux",
]
[packages.k3s]
pkgs = [
"container-selinux",
]
[packages.ha]
pkgs = [
"pacemaker",
"corosync",
"pcs",
"fence-agents-all",
"fence-virt",
"resource-agents",
"sbd",
"booth",
"booth-core",
"booth-test",
"dlm",
"corosync-qdevice",
"corosync-qnetd",
"libqb",
"libibverbs",
]
[packages.utils]
pkgs = [
"git",
"tmux",
"vim-enhanced",
"wget2-wget",
"curl",
"btop",
"nvtop",
"fastfetch",
"lm_sensors",
"smartmontools",
"tuned",
"tuned-ppd",
"fuse",
"fuse3",
"7zip-standalone",
"unzip",
"zstd",
"rsync",
"tree",
"jq",
"yq",
"bc",
"patch",
"openssl",
"distrobox",
"just",
"driverctl",
"tmt",
"ansible-core",
"wslu",
"python3-pip",
"python3-requests",
"cloud-init",
"libei",
"strace",
"lsof",
"iotop",
"socat",
"syft",
"oras-cli",
]
[packages.android]
pkgs = [
"waydroid",
]
[packages.looking-glass-build]
pkgs = [
"cmake",
"gcc",
"gcc-c++",
"make",
"binutils",
"pkgconf-pkg-config",
"libglvnd-devel",
"fontconfig",
"fontconfig-devel",
"spice-protocol",
"nettle-devel",
"gnutls-devel",
"libXi-devel",
"libXinerama-devel",
"libXcursor-devel",
"libXpresent-devel",
"libXScrnSaver-devel",
"libxkbcommon-x11-devel",
"wayland-devel",
"wayland-protocols-devel",
"libdecor-devel",
"pipewire-devel",
"libsamplerate-devel",
]
[packages.cockpit-plugins-build]
pkgs = [
"npm",
"gettext",
]
[packages.network-discovery]
pkgs = [
"avahi",
"avahi-tools",
"nss-mdns",
]
[packages.phosh]
pkgs = [
"phosh",
"phoc",
"gnome-calls",
"feedbackd",
]
[packages.updater]
pkgs = [
"uupd",
"greenboot",
"greenboot-default-health-checks",
]
[packages.freeipa]
pkgs = [
"freeipa-client",
"sssd",
"sssd-tools",
"libsss_nss_idmap",
]
[packages.ai]
pkgs = [
"python3-openai",
"nodejs", # required by claude-code + gemini-cli (npm-installed)
"npm",
]
# AI assistant CLIs installed globally via npm. ON by default --
# operator can remove from this list to skip. Each entry is an npm
# package id (passed to `npm install -g`). Installed by
# /usr/libexec/mios/install-ai-clis.sh which runs once during the
# overlay phase (build-mios.ps1) and is also re-runnable any time.
npm_globals = [
"@anthropic-ai/claude-code", # Anthropic Claude Code CLI
"@google/gemini-cli", # Google Gemini CLI
]
[packages.critical]
pkgs = [
"gnome-shell",
"gdm",
"podman",
"bootc",
"libvirt",
"kernel-core",
"firewalld",
"cockpit",