summary refs log tree commit diff
path: root/nixos/modules/system/boot/kernel.nix
diff options
context:
space:
mode:
authorHerwig Hochleitner <herwig@bendlas.net>2018-02-14 02:16:36 +0100
committerHerwig Hochleitner <hhochleitner@gmail.com>2018-02-15 09:10:32 +0100
commit23b5421c46196b74a6ad1716cd56510696631797 (patch)
tree7bdce27b9664cf813b47ef1637a2490962b825c2 /nixos/modules/system/boot/kernel.nix
parent28875192ae411f6a44ac4f4392928b65005d11aa (diff)
downloadnixpkgs-23b5421c46196b74a6ad1716cd56510696631797.tar
nixpkgs-23b5421c46196b74a6ad1716cd56510696631797.tar.gz
nixpkgs-23b5421c46196b74a6ad1716cd56510696631797.tar.bz2
nixpkgs-23b5421c46196b74a6ad1716cd56510696631797.tar.lz
nixpkgs-23b5421c46196b74a6ad1716cd56510696631797.tar.xz
nixpkgs-23b5421c46196b74a6ad1716cd56510696631797.tar.zst
nixpkgs-23b5421c46196b74a6ad1716cd56510696631797.zip
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.
Diffstat (limited to 'nixos/modules/system/boot/kernel.nix')
-rw-r--r--nixos/modules/system/boot/kernel.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix
index 5eba2165435..d78f9d9389c 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`
       '';
     };