about summary refs log tree commit diff
path: root/nixpkgs/lib/kernel.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/lib/kernel.nix')
-rw-r--r--nixpkgs/lib/kernel.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixpkgs/lib/kernel.nix b/nixpkgs/lib/kernel.nix
index 8045a228d05e..ffcbc268b76c 100644
--- a/nixpkgs/lib/kernel.nix
+++ b/nixpkgs/lib/kernel.nix
@@ -8,10 +8,10 @@ with lib;
   option = x:
       x // { optional = true; };
 
-  yes      = { tristate    = "y"; };
-  no       = { tristate    = "n"; };
-  module   = { tristate    = "m"; };
-  freeform = x: { freeform = x; };
+  yes      = { tristate    = "y"; optional = false; };
+  no       = { tristate    = "n"; optional = false; };
+  module   = { tristate    = "m"; optional = false; };
+  freeform = x: { freeform = x; optional = false; };
 
   /*
     Common patterns/legacy used in common-config/hardened/config.nix