File tree Expand file tree Collapse file tree 2 files changed +11
-85
lines changed Expand file tree Collapse file tree 2 files changed +11
-85
lines changed Original file line number Diff line number Diff line change 33
44 inputs = {
55 nixpkgs . url = "github:NixOS/nixpkgs/nixpkgs-unstable" ;
6- codex . url = "github:openai/codex" ;
7- codex . inputs . nixpkgs . follows = "nixpkgs" ;
86 } ;
97
108 outputs = {
119 self ,
1210 nixpkgs ,
13- codex ,
1411 } : let
1512 systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ] ;
1613 forAllSystems = nixpkgs . lib . genAttrs systems ;
2724 pkgs . goose-cli
2825 pkgs . claude-code
2926 pkgs . gemini-cli
30- codex . packages . ${ system } . codex-rs
27+ pkgs . codex
28+ pkgs . opencode
3129 ] } :$PATH
3230 exec ruby ${ ./bin/agent-task } "$@"
3331 '' ;
6159 config . allowUnfree = true ; # Allow unfree packages like claude-code
6260 } ;
6361 isLinux = pkgs . stdenv . isLinux ;
62+ isDarwin = pkgs . stdenv . isDarwin ;
6463 in {
6564 default = pkgs . mkShell {
6665 buildInputs = [
7675 pkgs . goose-cli # Goose AI coding assistant
7776 pkgs . claude-code # Claude Code - agentic coding tool
7877 pkgs . gemini-cli # Gemini CLI
79- codex . packages . ${ system } . codex-rs # OpenAI Codex CLI (native Rust implementation)
78+ pkgs . codex # OpenAI Codex CLI (Rust implementation)
79+ pkgs . opencode # OpenCode AI coding assistant
8080 ] ++ pkgs . lib . optionals isLinux [
8181 # Linux-only filesystem utilities for snapshot functionality
8282 pkgs . zfs # ZFS utilities for copy-on-write snapshots
8383 pkgs . btrfs-progs # Btrfs utilities for subvolume snapshots
84+ ] ++ pkgs . lib . optionals isDarwin [
85+ # macOS-only VM manager
86+ pkgs . lima # Linux virtual machines on macOS
8487 ] ;
8588
8689 shellHook = ''
You can’t perform that action at this time.
0 commit comments