feat: install on any Linux with Nix and systemd
check / check (push) Canceled after 0s

Not just the first household's machines: a home server of your own
runs speech, the status page, and the brain, and a household flake of
your own makes the box, from a few names.

- speech: sudo make install: the server, its models, its key, and its
  systemd unit, answering only the private network
- box: make keys, from the home server: each connection's key piped
  to both its ends, never on disk but where it's used
- docs/setup.md: the setup guide, from the household repository to
  teaching it the remotes
- README: the home server; Make your own

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-12-02 17:17:30 -06:00
1 parent 469d642902
commit 4dfff77b95
5 files changed
+174 -3

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
[Unit]
Description=pdtv26-speech: the agent's ears and voice, a capability over Cap'n Web on the private network
After=network-online.target
Wants=network-online.target
[Service]
# Listens on every address, but the kernel lets only the private network and loopback in or out.
EnvironmentFile=/etc/pdtv26-speech/settings
ExecStart=/var/lib/pdtv26-speech/app/bin/speech-server :: ${PORT} /var/lib/pdtv26-speech/models/${MODEL} /var/lib/pdtv26-speech/voices/${VOICE}.onnx
DynamicUser=yes
LoadCredential=speech-key:/etc/pdtv26-speech/speech-key
IPAddressDeny=any
IPAddressAllow=localhost @ranges@
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
NoNewPrivileges=yes
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
PrivateDevices=yes
# whisper uses every core it can; whatever else the home server does comes first.
Nice=10
MemoryMax=10G
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target