feat: add SOPS secret add/delete with darwin-rebuild verification and commit

SC
1mo ago
+1272-232

Summary

Hooks up the original storybook mocks end-to-end for SOP secret add and delete operations. (Age will be forthcoming.)

Includes some fileops and nix editor refactorings and enhancements for reusable/recurring patterns.

Screenshots:

Screenshot 2026-08-11 at 3 08 33 PM Screenshot 2026-08-11 at 2 58 26 PM image image Screenshot 2026-08-11 at 3 00 39 PM image

Test Plan

New unit tests as appropriate, plus manual testing e2e.

  • No test plan needed

Docs

  • Docs updated (companion PR in darkmatter/nixmac-web: #___)
  • No docs update needed