Enable opencode web service on pureintent (#104)

- Add opencode/web.nix module for web service configuration
- Bind to Tailscale IP (100.122.32.106) on port 4096
- Pass JUSPAY_API_KEY from agenix secret to service
- Update flake inputs: nixpkgs/unstable, nix-darwin/master, home-manager/master
This commit is contained in:
Sridhar Ratnakumar 2026-03-11 22:58:45 -04:00 committed by GitHub
parent 0e07a3fbc2
commit cd4805d5dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 86 additions and 129 deletions

View file

@ -20,6 +20,7 @@ in
"${homeMod}/work/juspay.nix"
"${homeMod}/services/vira.nix"
"${homeMod}/opencode"
"${homeMod}/opencode/web.nix"
# "${homeMod}/services/dropbox.nix"
# "${homeMod}/services/obsidian.nix"
@ -27,14 +28,6 @@ in
# Remote builders
"${homeMod}/nix/buildMachines"
"${homeMod}/nix/buildMachines/sincereintent.nix"
{
services.ttyd = {
enable = true;
port = 9999;
command = "${lib.getExe config.programs.tmux.package} new-session -A -s ttyd";
write = true;
};
}
];
nix.settings = {