feat(t3code): add environmentFile option
Loads an optional KEY=value file (e.g. an agenix secret) as the service's systemd EnvironmentFile. Store paths are rejected so secrets cannot end up in the Nix store. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2a36d43d9d
commit
2187d9263d
2 files changed
+17
No files matched your search
@@ -35,6 +35,7 @@ Agents committen auf beiden Hosts als `m3ta-chiron`.
|
||||
| `m3ta.t3code.port` | port | `3773` |
|
||||
| `m3ta.t3code.interface` | str | `"wt0"` |
|
||||
| `m3ta.t3code.package` | package | `pkgs.llm-agents.t3code` |
|
||||
| `m3ta.t3code.environmentFile` | null oder absoluter Pfad außerhalb des Stores | `null` |
|
||||
|
||||
Eine Assertion verlangt `services.netbird.enable = true`.
|
||||
|
||||
@@ -42,6 +43,7 @@ Eine Assertion verlangt `services.netbird.enable = true`.
|
||||
|
||||
- Läuft als `user` mit Gruppe `users`; `HOME` und `WorkingDirectory` kommen aus `config.users.users.<user>.home`.
|
||||
- `T3CODE_PORT` kommt aus `port`.
|
||||
- `environmentFile` wird, falls gesetzt, als `EnvironmentFile` geladen (`KEY=value`-Zeilen, z. B. ein agenix-Secret).
|
||||
- `path` enthält `/etc/profiles/per-user/<user>` und `/run/current-system/sw`.
|
||||
- `Restart = "on-failure"`, `RestartSec = 5`.
|
||||
- `bindsTo`, `after` und `wantedBy` zeigen auf `sys-subsystem-net-devices-<interface>.device`.
|
||||
|
||||
Reference in new issue
Block a user