···9696 # (required, but can be null if only config changes
9797 # are needed)
98989999- extraStructuredConfig = { # attrset of extra configuration parameters
100100- FOO = lib.kernel.yes; # (without the CONFIG_ prefix, optional)
9999+ extraStructuredConfig = { # attrset of extra configuration parameters without the CONFIG_ prefix
100100+ FOO = lib.kernel.yes; # (optional)
101101 }; # values should generally be lib.kernel.yes,
102102 # lib.kernel.no or lib.kernel.module
103103···105105 foo = true; # (may be checked by other NixOS modules, optional)
106106 };
107107108108- extraConfig = "CONFIG_FOO y"; # extra configuration options in string form
109109- # (deprecated, use extraStructuredConfig instead, optional)
108108+ extraConfig = "FOO y"; # extra configuration options in string form without the CONFIG_ prefix
109109+ # (optional, multiple lines allowed to specify multiple options)
110110+ # (deprecated, use extraStructuredConfig instead)
110111 }
111112 ```
112113