Skip to main content

Update flake lock (optionally, restrict to single input by name)
#

nix flake update [foo]

Start Nix Shell with program foo
#

nix-shell -p foo

Spawn OpenAI Codex
#

nix --extra-experimental-features nix-command --extra-experimental-features flakes shell nixpkgs#nodejs -c npx @openai/codex