mirror of
https://github.com/srid/nixos-config.git
synced 2026-07-16 22:01:33 +08:00
claude: gh
This commit is contained in:
parent
d826c0cbd8
commit
e91b108d70
2 changed files with 12 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue