2e23c695a2
cliPackage only points the desktop app at codex; it never put the cli on PATH, so `codex` was missing. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
21 lines
450 B
Nix
21 lines
450 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
codex-cli = inputs.codex-cli.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
|
in
|
|
{
|
|
imports = [ inputs.codex-desktop-linux.homeManagerModules.default ];
|
|
|
|
# cliPackage only tells the desktop app where to find codex; it does not put
|
|
# it on PATH, so the cli needs installing separately.
|
|
home.packages = [ codex-cli ];
|
|
|
|
programs.codexDesktopLinux = {
|
|
enable = true;
|
|
cliPackage = codex-cli;
|
|
};
|
|
}
|