4 Commits
Author SHA1 Message Date
OmO Orchestrator a1cefa75d1 fix(flake): explicitly put openssl on PATH for nix run
'nix run' threw 'spawnSync openssl ENOENT' on the real NixOS target even
though openssl is installed there system-wide - nix run's environment
doesn't carry ambient host PATH entries like /usr/bin, only what the
flake explicitly provides. run-local.mjs shells out to openssl to
generate its HTTPS cert, so pkgs.openssl now gets explicitly prefixed
onto PATH in the apps.default wrapper script, guaranteeing it's
reachable regardless of host state - the actual Nix-idiomatic fix,
not a hope that a system binary happens to be on PATH.

Verified via the real flake: nix build succeeded, and nix run fetched
openssl-3.5.9-bin from cache.nixos.org specifically because of this
reference (proof it is a real, explicit dependency now), then served
HTTPS successfully with a real generated cert.
2026-11-20 23:48:10 -05:00
OmO Orchestrator 8cdfcf631e feat(flake): add 'nix run' launcher, no system config needed
Per explicit preference: no NixOS module/global config edit required.
'nix run .' starts one process serving both the static frontend and
api/* on one auto-picked free port (tries 3001, falls back to any free
port). Ctrl+C or kill stops it; only ./.data's SQLite files persist.
Verified directly: real HTTP 200 on the served frontend.
2026-11-20 23:11:42 -05:00
OmO Orchestrator 725701c72d build(nix): fill in the real npmDepsHash, fix nodePackages.npm removal; flake validated end-to-end (nix build, nix flake check, module eval, live server from the real store output)
Also commits the full cross-device sync architecture re-evaluation across all 13 mini-apps (.omo/evidence/service-sync-reevaluation.md), which found 4 broken community features (Sky memory wall/morale, Health Post symptom tally, Assembly testimony) caused by the same local-only-sync root cause the user flagged.
2026-11-20 17:08:13 -05:00
OmO Orchestrator 8308878ec5 build(nix): add flake.nix for self-hosted NixOS deployment (frontend + api systemd service + nginx) 2026-11-20 16:58:00 -05:00