- Set `chatgpt.enable = true` for both Garand‑Desktop and Garand‑Laptop. - Rename `modules/home/codex.nix` to `modules/home/codex/default.nix`. - Add `mutableSettings = true` and import `plugins.nix` in the Codex module. - Introduce `modules/home/codex/plugins.nix` defining Codex plugins and marketplaces. - Update `modules/home/default.nix` to import the new Codex directory. - Refresh ChatGPT desktop entry icon SHA256 hash.
19 lines
267 B
Nix
19 lines
267 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options.codex.enable = lib.mkEnableOption "Codex";
|
|
|
|
config.programs.codex = lib.mkIf config.codex.enable {
|
|
enable = true;
|
|
package = pkgs.codex;
|
|
mutableSettings = true;
|
|
};
|
|
|
|
imports = [
|
|
./plugins.nix
|
|
];
|
|
}
|