summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-20 04:35:29 +0000
committertv <tv@krebsco.de>2026-11-20 05:59:28 +0100
commit6b11fb3621849862d8573d36ca204a2fcb323e31 (patch)
tree24802b196ae068b5c1534712cfde0aead34f3f1f
parent56e3ea2ca63b86aced84657042266eb318d096c6 (diff)
configs/hermes: put hermes into hermes' packages
So hermes is on the PATH of hermes' shells, like the ones in new windows of the tmux, and not only of the units.
-rw-r--r--configs/hermes.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/hermes.nix b/configs/hermes.nix
index 395414e..5ff49d9 100644
--- a/configs/hermes.nix
+++ b/configs/hermes.nix
@@ -87,6 +87,8 @@ in
# The login is in ~/.claude, i.e. in stateDir.
extraPackages = [ pkgs.claude-code ];
};
+ # hermes for hermes' shells, too, like in a new window of the tmux.
+ users.users.hermes.packages = [ config.services.hermes-agent.package ];
nixpkgs.config.allowUnfreePredicate = pkg: lib.getName pkg == "claude-code";
# hermes' home is stateDir, so this uses the service's state at ~/.hermes.