···96 # (required, but can be null if only config changes
97 # are needed)
9899- extraStructuredConfig = { # attrset of extra configuration parameters
100- FOO = lib.kernel.yes; # (without the CONFIG_ prefix, optional)
101 }; # values should generally be lib.kernel.yes,
102 # lib.kernel.no or lib.kernel.module
103···105 foo = true; # (may be checked by other NixOS modules, optional)
106 };
107108- extraConfig = "CONFIG_FOO y"; # extra configuration options in string form
109- # (deprecated, use extraStructuredConfig instead, optional)
0110 }
111 ```
112
···96 # (required, but can be null if only config changes
97 # are needed)
9899+ extraStructuredConfig = { # attrset of extra configuration parameters without the CONFIG_ prefix
100+ FOO = lib.kernel.yes; # (optional)
101 }; # values should generally be lib.kernel.yes,
102 # lib.kernel.no or lib.kernel.module
103···105 foo = true; # (may be checked by other NixOS modules, optional)
106 };
107108+ extraConfig = "FOO y"; # extra configuration options in string form without the CONFIG_ prefix
109+ # (optional, multiple lines allowed to specify multiple options)
110+ # (deprecated, use extraStructuredConfig instead)
111 }
112 ```
113