claude: gh

This commit is contained in:
Sridhar Ratnakumar 2025-10-10 22:24:40 -04:00
parent d826c0cbd8
commit e91b108d70
2 changed files with 12 additions and 4 deletions

6
flake.lock generated
View file

@ -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": {

View file

@ -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"