Files
home-manager/tests/modules/programs/t3code/server.service
Jono 2f5ab4a8fe t3code: add server service
Add programs.t3code.server to run the headless server as a user service
with systemd on Linux and launchd on Darwin. Support extra arguments
and an optional environment file for runtime secrets.

Add tests for generated service files and launchd environment loading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 16:04:44 -05:00

13 lines
231 B
Desktop File

[Install]
WantedBy=default.target
[Service]
ExecStart=@t3code@/bin/t3 serve --host 0.0.0.0 --port 3773
Restart=on-failure
RestartSec=5
[Unit]
After=network.target
Description=t3code headless server
Documentation=https://t3.codes