Skip to content

Commit

Permalink
nixos/kernel: fix docs typo
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Jan 11, 2023
1 parent 7148e61 commit b2a819f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions nixos/modules/system/boot/kernel.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ in
{
name = "foo";
patch = ./foo.patch;
structuredExtraConfig.FOO = lib.kernel.yes;
extraStructuredConfig.FOO = lib.kernel.yes;
features.foo = true;
}
]
Expand All @@ -96,16 +96,17 @@ in
# (required, but can be null if only config changes
# are needed)
structuredExtraConfig = { # attrset of extra configuration parameters
extraStructuredConfig = { # attrset of extra configuration parameters
FOO = lib.kernel.yes; # (without the CONFIG_ prefix, optional)
}; # values should generally be lib.kernel.yes or lib.kernel.no
}; # values should generally be lib.kernel.yes,
# lib.kernel.no or lib.kernel.module
features = { # attrset of extra "features" the kernel is considered to have
foo = true; # (may be checked by other NixOS modules, optional)
};
extraConfig = "CONFIG_FOO y"; # extra configuration options in string form
# (deprecated, use structuredExtraConfig instead, optional)
# (deprecated, use extraStructuredConfig instead, optional)
}
```
Expand Down

0 comments on commit b2a819f

Please sign in to comment.