This commit is contained in:
Danilo Reyes
2026-02-07 04:41:52 -06:00
commit 0f5e76ddc9
36 changed files with 5390 additions and 0 deletions

29
flake.nix Normal file
View File

@@ -0,0 +1,29 @@
{
description = "Dev environment with Codex and CODEX_HOME set to the project root.";
inputs = {
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs-unstable }:
let
systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
forAllSystems = nixpkgs-unstable.lib.genAttrs systems;
in
{
devShells = forAllSystems (system:
let
pkgs = import nixpkgs-unstable { inherit system; };
in
{
default = pkgs.mkShell {
packages = [
pkgs.codex
];
shellHook = ''
export CODEX_HOME="/home/jawz/Development/gallery-organizer-web/.codex"
'';
};
});
};
}