diff options
| author | Ben Sima <ben@bensima.com> | 2026-06-04 14:49:45 -0400 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2026-06-04 14:49:45 -0400 |
| commit | ff34f98e3adf7899fb3857eabb80471ca51f8156 (patch) | |
| tree | 139f743fff86f63cda23451613bad823edb77da6 /slopbot.service | |
| parent | 6ba0caf1b2907ce3d6617a7914e71c810e13dda8 (diff) | |
Add locked-down research tools
Diffstat (limited to 'slopbot.service')
| -rw-r--r-- | slopbot.service | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/slopbot.service b/slopbot.service index 396e9d0..7b582e0 100644 --- a/slopbot.service +++ b/slopbot.service @@ -6,7 +6,10 @@ Wants=network-online.target [Service] Type=simple WorkingDirectory=/home/ben/src/bsima/slopbot +Environment=PATH=/run/current-system/sw/bin EnvironmentFile=-/home/ben/src/bsima/slopbot/.env +# The Nix wrapper resets PATH to the slopbot-agent-tools package before invoking Python. +# Agent shell commands can then resolve only the tools packaged for slopbot, e.g. slop-search/slop-fetch. ExecStart=/run/current-system/sw/bin/nix --extra-experimental-features 'nix-command flakes' run /home/ben/src/bsima/slopbot#slopbot Restart=on-failure RestartSec=5 |
