nixos: make boot.kernel.features internal

This isn't useful as public API. It should be used by options to
activate kernel features for use with specific programs.
This commit is contained in:
Herwig Hochleitner 2018-02-14 02:16:36 +01:00 committed by Herwig Hochleitner
parent 28875192ae
commit 23b5421c46

View File

@ -24,9 +24,13 @@ in
boot.kernel.features = mkOption {
default = {};
example = literalExample "{ debug = true; }";
internal = true;
description = ''
This option allows to enable or disable certain kernel features.
grep features pkgs/os-specific/linux/kernel/common-config.nix
It's not API, because it's about kernel feature sets, that
make sense for specific use cases. Mostly along with programs,
which would have separate nixos options.
`grep features pkgs/os-specific/linux/kernel/common-config.nix`
'';
};