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

@ -33,7 +33,8 @@ in
package = lib.mkPackageOption pkgs "ashell" { 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;
default = { };
example = {
modules = {