From 23b5421c46196b74a6ad1716cd56510696631797 Mon Sep 17 00:00:00 2001 From: Herwig Hochleitner Date: Wed, 14 Feb 2018 02:16:36 +0100 Subject: 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. --- nixos/modules/system/boot/kernel.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'nixos/modules/system') diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix index 5eba2165435a..d78f9d9389c6 100644 --- a/nixos/modules/system/boot/kernel.nix +++ b/nixos/modules/system/boot/kernel.nix @@ -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` ''; }; -- cgit 1.4.1