Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
codex # Codex
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
codex # Codex
];
}
Package Definition
{
"pname": "codex",
"version": "0.47.0",
"src": {
"url": "https://github.com/openai/codex/releases/download/rust-v0.47.0/codex-aarch64-apple-darwin.tar.gz",
"sha256": "3eb834ce4bdbd7e63f8f92c8f140a1ce61f1ebed34dfb31b19a033dbfb1cc201"
},
"installPhase": [
"mkdir -p \"$out/bin\" && ln -s \"codex-aarch64-apple-darwin\" \"$out/bin/codex\""
],
"meta": {
"description": "OpenAI's coding agent that runs in your terminal",
"homepage": "https://github.com/openai/codex"
}
}