rev came from a working checkout: the unit ran `node server/index.ts` in ~/tea/rev, so any edit there was live, and rev-deploy rebuilt a prod directory that no longer exists. It is a flake input now, same as maestro, and `services.rev` owns the unit. Adds nix-autodeploy: one endpoint both repos post to. It verifies the webhook HMAC, bumps that flake input, commits and pushes flake.lock, then switches. The switch runs in a transient unit, since it restarts the listener itself. maestro is bump-and-notify only — switching would restart the daemon that owns every interactive shell here. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
8 lines
300 B
Nix
8 lines
300 B
Nix
{ inputs, ... }:
|
|
# rev: the always-on code review server. Module only — no `enable` here. It
|
|
# discovers every repo under its roots and serves them without auth, so only a
|
|
# box that is already a trusted single-user machine should run it.
|
|
{
|
|
imports = [ inputs.rev.homeManagerModules.default ];
|
|
}
|