forked from
lass.pds.lassul.us/superconfig
This repository has no description
1.2 kB
21 lines
1{ self, pkgs, ... }:
2{
3 # herdr: agent multiplexer (https://herdr.dev). Keeps coding-agent terminals
4 # running in a background server that survives a dropped ssh session, marks
5 # every pane working/blocked/idle and joins saved ssh machines into one
6 # window, so a herd of agents across hosts can be driven from one client.
7 # Taken from llm-agents (tracks upstream releases; nixpkgs lags).
8 environment.systemPackages = [ self.inputs.llm-agents.packages.${pkgs.system}.herdr ];
9
10 # Multi-machine: `herdr machine add <host>.r --label <host>` on the client
11 # host saves an ssh profile in ~/.local/state/herdr/client/endpoints.json and
12 # starts the remote server. No bootstrap download is needed because
13 # systemPackages puts herdr in the non-interactive ssh PATH
14 # (/run/current-system/sw/bin), and every machine here shares the llm-agents
15 # pin, so client and server versions match as long as they are deployed
16 # together. A machine lagging behind shows "Attention" until it is updated.
17
18 # The whip app on massulus (herdr's mobile client) drives the agents over
19 # ssh as lass, so it gets in wherever herdr runs.
20 users.users.mainUser.openssh.authorizedKeys.keys = [ self.keys.ssh.whip_massulus.public ];
21}