From b5247c7dc404e0aeaf4eab06761fcdc349a98d3a Mon Sep 17 00:00:00 2001 From: chexit Date: Thu, 23 Apr 2026 22:41:00 +0300 Subject: [PATCH] add codex --- flake.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/flake.nix b/flake.nix index b5225a0..719e6d2 100644 --- a/flake.nix +++ b/flake.nix @@ -24,4 +24,23 @@ ]; }; }; +}, +{ + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + codex-cli-nix.url = "github:sadjow/codex-cli-nix"; + }; + + outputs = { self, nixpkgs, codex-cli-nix }: + let + system = "x86_64-linux"; # or your system + pkgs = nixpkgs.legacyPackages.${system}; + in + { + devShells.${system}.default = pkgs.mkShell { + buildInputs = [ + codex-cli-nix.packages.${system}.default + ]; + }; + }; }