Files
home-manager/tests/modules/programs/opencode/web-service-launcher.sh
Austin Horstman 8de9cb9d5d opencode: add layers for mutable configuration
Use the upstream config selectors to load declarative settings without
linking the application-written files. Select the effective installed
paths consistently for sessions and the web service.
2026-10-13 20:07:57 -05:00

6 lines
283 B
Bash

#!@shell@
export PATH="/home/hm-user/.nix-profile/bin${PATH:+:$PATH}"
exec /nix/store/00000000000000000000000000000000-opencode-wrapped-/bin/opencode serve --hostname 0.0.0.0 --port 4096 --mdns --cors https://example.com --cors http://localhost:3000 --print-logs --log-level DEBUG