nixos-config/modules/home/opencode/web.nix
Sridhar Ratnakumar cd4805d5dd
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
2026-03-11 22:58:45 -04:00

9 lines
184 B
Nix

{ config, lib, pkgs, ... }:
{
programs.opencode.web = {
enable = true;
# Bind to Tailscale IP only
extraArgs = [ "--hostname" "100.122.32.106" "--port" "4096" ];
};
}