docs(nixos): refine reproducibility principle and bootstrap-owned artifact terminology
Brain Structural Validation / Validate Markdown Structure & Links (push) Successful in 6s

This commit is contained in:
kiskaadee committed 2026-09-14 10:47:51 -05:00
1 parent 862ae314c7
commit 53059f3ec9
1 file changed
+7 -1
@@ -78,13 +78,19 @@ echo "1" | DMS_PRIVESC=sudo HOME=/tmp/fresh-user dms setup binds
## 3. The Declarative vs. Runtime Mutation Proof
| Configuration | Behavior Under Store Symlink (`home.file`) | Behavior Under Seeded Bootstrap (`dms setup binds`) |
| Configuration | Behavior Under Store Symlink (`home.file`) | Behavior Under Bootstrap-Owned File (`dms setup binds`) |
| :--- | :--- | :--- |
| **Monitor Re-arrangement** | Fails or gets overwritten on `nixos-rebuild switch`. | Persisted by DMS to `outputs.kdl` cleanly. |
| **Wallpaper Theming** | Matugen cannot write dynamic palettes to read-only store. | Matugen updates `colors.kdl` dynamically at runtime. |
| **GUI Keybinding Tweaks** | Fails with `EACCES` when editing in DMS Settings. | Modifies `binds.kdl` directly with user permissions. |
| **First-Boot State** | Zero shortcuts if empty file touched. | **Complete functional desktop instantly seeded.** |
> [!IMPORTANT]
> **Repository Architectural Principle**
> Reproducibility means **reproducible declared system state**, not necessarily byte-for-byte reproducible runtime/user state. The workstation is **declaratively reproducible, with an explicitly documented desktop bootstrap state**.
>
> `binds.kdl` is not part of the declarative workstation configuration. It is a bootstrap-owned artifact established by `dms setup binds`, providing the DMS-managed Niri IPC integration bindings. Subsequent edits via the DMS GUI or CLI mutate this file directly.
---
## 4. Disaster Recovery Procedure Summary