diff --git a/flake.lock b/flake.lock index 766147d..50dff1e 100644 --- a/flake.lock +++ b/flake.lock @@ -486,11 +486,11 @@ }, "landrun-nix": { "locked": { - "lastModified": 1760138485, - "narHash": "sha256-ZzXk7ujO4bkpOzB12lgVE5BjmVkP5FWguFmLXRoXGuM=", + "lastModified": 1760149399, + "narHash": "sha256-t6yy67aFLamp1obyX4rbMj07k2aUF+1RJ3gq8xtcNzo=", "owner": "srid", "repo": "landrun-nix", - "rev": "827925fe6735c6048e1c6e687c0b213657e20760", + "rev": "506bc86c0c5a35eb131f94d40dc97ea4f4799643", "type": "github" }, "original": { diff --git a/modules/flake-parts/claude-sandboxed.nix b/modules/flake-parts/claude-sandboxed.nix index 4f9cf72..a797809 100644 --- a/modules/flake-parts/claude-sandboxed.nix +++ b/modules/flake-parts/claude-sandboxed.nix @@ -1,10 +1,17 @@ { inputs, ... }: +let + inherit (inputs) landrun-nix; + inherit (landrun-nix) landrunModules; +in { - imports = [ inputs.landrun-nix.flakeModule ]; + imports = [ landrun-nix.flakeModule ]; perSystem = { pkgs, ... }: { landrunApps.claude = { program = "${pkgs.claude-code}/bin/claude"; + imports = [ + landrunModules.gh + ]; features = { tty = true; nix = true; @@ -12,6 +19,7 @@ }; cli = { rw = [ + # claude "$HOME/.claude" "$HOME/.claude.json" "$HOME/.config/gcloud"