Own repo (darman/honcho-console) as a flake input; its module runs on mars with a SELECT-only grant on Honcho's database, at http://mars.orbit.sol:8095 with the port closed on the LAN. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
759 B
Nix
22 lines
759 B
Nix
{ inputs, ... }:
|
|
|
|
# Web console for luna's Honcho (honcho.nix). Bound on all interfaces but
|
|
# its port stays closed in the firewall, so like Hermes' dashboard it is
|
|
# reachable over tailscale0 only: http://mars.orbit.sol:8095. It can rewrite
|
|
# luna's memory, so it stays off the LAN and off neptun.
|
|
{
|
|
imports = [ inputs.honcho-console.nixosModules.default ];
|
|
|
|
services.honcho-console = {
|
|
enable = true;
|
|
listen = "0.0.0.0:8095";
|
|
# Unlocks the UI toggle only; every start is still read-only.
|
|
allowWrites = true;
|
|
cardSnapshotInterval = "15m";
|
|
representationSnapshotInterval = "24h";
|
|
};
|
|
|
|
# Honcho's tables must exist before the grant covers them.
|
|
systemd.services.honcho-console-grants.after = [ "podman-honcho-api.service" ];
|
|
}
|