From ee93e18a6b011329e9b9df799fd1b2183ed782cb Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Fri, 8 May 2026 23:25:58 +0000 Subject: [PATCH] Add some stuff to make pi agent happier --- home/eliribble/config/tmux/tmux.conf | 4 ++++ modules/system/pi.nix | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/home/eliribble/config/tmux/tmux.conf b/home/eliribble/config/tmux/tmux.conf index 678d927..59626ce 100644 --- a/home/eliribble/config/tmux/tmux.conf +++ b/home/eliribble/config/tmux/tmux.conf @@ -20,3 +20,7 @@ set-window-option -g bell-action other set -g window-status-style bg=yellow set -g window-status-current-style bg=red,fg=white +# Set up modifier keys so that Shift+Enter and Ctrl+Enter are distinguishable +# based on https://github.com/earendil-works/pi/blob/main/packages/coding-agent/docs/tmux.md +set -g extended-keys on +set -g extended-keys-format csi-u diff --git a/modules/system/pi.nix b/modules/system/pi.nix index 33b0419..7052ac4 100644 --- a/modules/system/pi.nix +++ b/modules/system/pi.nix @@ -16,6 +16,7 @@ in { config = mkIf config.myModules.pi.enable { environment.systemPackages = with inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}; [ + pkgs.nodejs_24 pi ]; sops.secrets."pi-env" = { @@ -27,4 +28,14 @@ in { sopsFile = ../../secrets/pi.env; }; }; + /* notes on other stuff I did + + I'm installing pi-semaphore and pi-tmux with: + + ```shell + pi install git:github.com/offline-ant/pi-semaphore + pi install git:github.com/offline-ant/pi-tmux + ``` + */ + }