From fa9c2115e913950180015e1b230ad4cd6ac3d0ce Mon Sep 17 00:00:00 2001 From: arnie Date: Fri, 2 Jan 2026 23:28:02 +0100 Subject: [PATCH] Add claude code to mac --- flake.nix | 16 +++++++++++++++- home-manager/lcech-mac-veracode.nix | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 5f756b0..a7e915d 100644 --- a/flake.nix +++ b/flake.nix @@ -106,7 +106,21 @@ ( { ... }: { - nixpkgs.overlays = [ overlay ]; + nixpkgs.overlays = [ + overlay + ( + self: super: + let + nixpkgsWithFree = import nixpkgs { + system = "aarch64-darwin"; + config.allowUnfree = true; + }; + in + { + claude-code = nixpkgsWithFree.claude-code; + } + ) + ]; } ) mac-app-util.darwinModules.default diff --git a/home-manager/lcech-mac-veracode.nix b/home-manager/lcech-mac-veracode.nix index 5aafa9b..fc94dd5 100644 --- a/home-manager/lcech-mac-veracode.nix +++ b/home-manager/lcech-mac-veracode.nix @@ -32,6 +32,7 @@ in home.stateVersion = "24.11"; home.packages = with pkgs; [ + claude-code colima docker hammerspoon