zest: add claude

This commit is contained in:
Sridhar Ratnakumar 2025-10-25 14:10:57 -04:00
parent 67e6bfe047
commit 3392e48a94
3 changed files with 7 additions and 3 deletions

View file

@ -5,6 +5,7 @@
flake.inputs.self.homeModules.darwin-only
(flake.inputs.self + /modules/home/all/1password.nix)
(flake.inputs.self + /modules/home/all/juspay-vertex.nix)
(flake.inputs.self + /modules/home/claude-code)
];
home.username = "srid";

View file

@ -6,8 +6,8 @@ in
{
imports = [ landrun-nix.flakeModule ];
perSystem = { pkgs, ... }: {
landrunApps.claude = {
perSystem = { pkgs, system, lib, ... }: {
landrunApps.claude = lib.mkIf (lib.hasInfix "linux" system) {
program = "${pkgs.claude-code}/bin/claude";
imports = [
landrunModules.gh

View file

@ -22,7 +22,10 @@ in
home.packages = [
pkgs.tree
pkgs.python313Packages.markitdown
flake.inputs.self.packages.${pkgs.system}.claude # Sandboxed version from claude-sandboxed.nix
# Use sandboxed version on Linux, plain version on macOS
(if lib.hasInfix "linux" pkgs.system
then flake.inputs.self.packages.${pkgs.system}.claude
else pkgs.claude-code)
# Other agents for trying out
pkgs.copilot-cli
];