1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

treewide: remove config dependency on docs (#7547)

Tested with rebased
https://github.com/nix-community/home-manager/pull/6411 so I could find
all instances of config usage in docs.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Co-authored-by: Robert Helgesson <robert@rycee.net>
This commit is contained in:
Austin Horstman 2025-07-26 17:11:53 -05:00 committed by GitHub
parent 37fec70bd5
commit 2b73c2fcca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 73 additions and 41 deletions

View file

@ -28,7 +28,8 @@ in
package = lib.mkPackageOption pkgs "codex" { nullable = true; };
settings = lib.mkOption {
inherit (settingsFormat) type;
# NOTE: `yaml` type supports null, using `nullOr` for backwards compatibility period
type = lib.types.nullOr tomlFormat.type;
description = ''
Configuration written to {file}`~/.codex/config.toml` (0.2.0+) or {file}`~/.codex/config.yaml` (<0.2.0).
See <https://github.com/openai/codex/blob/main/codex-rs/config.md> for supported values.