Brain Structural Validation / Validate Markdown Structure & Links (push) Failing after 8s
2.2 KiB
2.2 KiB
type, project, tags
| type | project | tags | |||
|---|---|---|---|---|---|
| guide | nixos |
|
Walkthrough: Decommissioning the Legacy Desktop Derivation
Overview
We cleanly decommissioned the legacy desktop host configuration (nixosConfigurations.desktop and hosts/desktop/) on the dedicated branch refactor/decommission-desktop.
With the dedicated server host handling all homelab services and laptop serving as the daily-driver workstation, the legacy dual-mode desktop host is no longer needed.
Changes Made
-
Branch Isolation: Created and checked out branch
refactor/decommission-desktopfrommain. -
Flake Output Pruning:
flake.nix: RemovednixosConfigurations.desktop. The only active targets are nowserverandlaptop.
-
Directory Deletion:
- Removed
hosts/desktop/and all its legacy contents (Hyprland configuration, duplicated server configs, hardware configuration, and legacy secrets). All active homelab services remain fully preserved underhosts/server/.
- Removed
-
Architecture & Constitution Alignment:
architecture.md: Pruneddesktopfrom the topology directory tree, Mermaid diagrams, placement guides, and invariants.AGENTS.md: Updated agent constitution, verification commands, and validation matrix to targetserverandlaptop.README.md: Updated high-level overview, topology diagrams, and deployment guides to reflect the 2-host architecture (serverandlaptop).docs/: Updated references indynu-ip-monitor.md,package-and-secrets.md,secrets-management.md, andantigravity.md.
Verification Results
1. Attribute Check
nix eval .#nixosConfigurations --apply builtins.attrNames
- Result:
[ "laptop" "server" ](confirmingdesktopis cleanly removed).
2. Flake Validation
nix flake check
- Result: All checks passed cleanly for
nixosConfigurations.serverandnixosConfigurations.laptop.
3. Dry-Build Validation (--no-link)
server:Result: Success (code 0).nix build .#nixosConfigurations.server.config.system.build.toplevel --no-linklaptop:Result: Success (code 0).nix build .#nixosConfigurations.laptop.config.system.build.toplevel --no-link