docs: streamline README and fix stale desktop host references

- README.md: streamline Dynu monitor section to concise feature highlight with docs link per user request
- README.md: update video recording description to Niri session only (remove Hyprland)
- docs/system-maintenance.md: replace legacy desktop build and switch commands with laptop
This commit is contained in:
kiskaadee committed 2026-09-11 20:04:10 -05:00
1 parent bdeabc05cc
commit a1b08b151d
2 files changed
+6 -22

No files matched your search

+4 -20
View File
@@ -69,32 +69,16 @@ graph TD
## 🛠️ Specialized Shell & Script Automation ## 🛠️ Specialized Shell & Script Automation
### 1. Smart Dynamic DNS Monitor ### 1. Smart Dynamic DNS Monitor
The [monitor.py](hosts/server/monitor.py) daemon prevents redundant DNS updates by running a local-first check before contacting the provider API: * **Feature:** Smart IP monitor preventing redundant Dynu API calls by verifying WAN IP rotations locally before invoking `ddclient`.
* **Documentation:** Detailed flow and operational architecture are documented in the [Smart DDNS Updater Guide](docs/dynu-ip-monitor.md).
```mermaid
flowchart TD
A[Timer triggers monitor script] --> B[Fetch public IP from seq. providers]
B --> C{Is public IPv4 valid?}
C -->|No| D[Log error & try next provider]
C -->|Yes| E[Retrieve last successful IP from local logs]
E --> F{Has IP changed?}
F -->|No| G[Exit cleanly]
F -->|Yes| H[Trigger ddclient.service via systemctl]
H --> I{Update successful?}
I -->|Yes| J[Write success status to ip_history.jsonl]
I -->|No| K[Write failed_update status & alert user]
```
* **Script Location:** [hosts/server/monitor.py](hosts/server/monitor.py)
* **Systemd Integration:** Managed via [hosts/server/dynu.nix](hosts/server/dynu.nix) which triggers the monitor service every 30 minutes.
### 2. GPU-Accelerated Video Recording (`record`) ### 2. GPU-Accelerated Video Recording (`record`)
* **Script Location:** [modules/user/scripts/record.sh](modules/user/scripts/record.sh) * **Script Location:** [modules/user/scripts/record.sh](modules/user/scripts/record.sh)
* **Functionality:** Uses `wf-recorder` to record Wayland outputs across both Niri and Hyprland sessions. * **Functionality:** Uses `wf-recorder` to record Wayland outputs in Niri sessions.
* **Modes:** * **Modes:**
* `area` — Manually drag and draw a target bounding box using `slurp`. * `area` — Manually drag and draw a target bounding box using `slurp`.
* `window` — Target active window or interactively select via `slurp`. * `window` — Target active window or interactively select via `slurp`.
* `output` — Matches coordinates of the currently active focused monitor (`niri msg` / `hyprctl`). * `output` — Matches coordinates of the currently active focused monitor (`niri msg`).
* `screen` — Full layout capture. * `screen` — Full layout capture.
* `audio` flag — Parses `wpctl` to dynamically resolve output system loopback paths from PipeWire/WirePlumber to include sound. * `audio` flag — Parses `wpctl` to dynamically resolve output system loopback paths from PipeWire/WirePlumber to include sound.
+2 -2
View File
@@ -17,13 +17,13 @@ nix flake update
### Step 2: Validate the Build & Formatting ### Step 2: Validate the Build & Formatting
Test-build the derivation without applying it to your bootloader. This prevents dirty installations or builder failures (such as Python PEP8 style errors) from affecting system configuration state: Test-build the derivation without applying it to your bootloader. This prevents dirty installations or builder failures (such as Python PEP8 style errors) from affecting system configuration state:
```bash ```bash
nix build .#nixosConfigurations.desktop.config.system.build.toplevel --no-link nix build .#nixosConfigurations.laptop.config.system.build.toplevel --no-link
``` ```
### Step 3: Switch & Apply the Update ### Step 3: Switch & Apply the Update
Once the test build completes successfully, switch to the new generation: Once the test build completes successfully, switch to the new generation:
```bash ```bash
sudo nixos-rebuild switch --flake .#desktop sudo nixos-rebuild switch --flake .#laptop
``` ```
--- ---