From 7ce37d7a8ac0bd17e36e0da407fbea7deb2947ad Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar <3998+srid@users.noreply.github.com> Date: Mon, 13 Oct 2025 17:30:20 -0400 Subject: [PATCH] landrun: add git --- flake.lock | 6 +++--- modules/flake-parts/claude-sandboxed.nix | 1 + modules/home/claude-code/default.nix | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 0d41216..4384e76 100644 --- a/flake.lock +++ b/flake.lock @@ -486,11 +486,11 @@ }, "landrun-nix": { "locked": { - "lastModified": 1760149399, - "narHash": "sha256-t6yy67aFLamp1obyX4rbMj07k2aUF+1RJ3gq8xtcNzo=", + "lastModified": 1760390904, + "narHash": "sha256-quLBS6P1/cerN6VqCfDE8xuuBpGmaHLKB+Ul0ZCX5oY=", "owner": "srid", "repo": "landrun-nix", - "rev": "506bc86c0c5a35eb131f94d40dc97ea4f4799643", + "rev": "f6685736eba963ca6f0711a52cc39b076e286f21", "type": "github" }, "original": { diff --git a/modules/flake-parts/claude-sandboxed.nix b/modules/flake-parts/claude-sandboxed.nix index a797809..d323ecf 100644 --- a/modules/flake-parts/claude-sandboxed.nix +++ b/modules/flake-parts/claude-sandboxed.nix @@ -11,6 +11,7 @@ in program = "${pkgs.claude-code}/bin/claude"; imports = [ landrunModules.gh + landrunModules.git ]; features = { tty = true; diff --git a/modules/home/claude-code/default.nix b/modules/home/claude-code/default.nix index a1c9fa0..605cc09 100644 --- a/modules/home/claude-code/default.nix +++ b/modules/home/claude-code/default.nix @@ -45,6 +45,10 @@ in - Don't say "First, " say "Indeed, " - Don't say "Good" or "Perfect" say "Excelsior" - Don't say "Let me fix them", say "The game is afoot" + + # Tools + + - **gh**: If `gh` is unavailable, get it from nixpkgs, viz.: `nix run nixpkgs#gh`. ''; # Automatically discovered commands from commands/ directory