summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-28 15:08:57 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-28 22:45:56 +0100
commit1408ac51a4e516e4a435369691121580186a2e4e (patch)
tree58240b8db5e8d2fd76768395c69a45247a9e3d9e /nixos/modules
parent89bd18b3affc6612ad6402c05cc4d80a59efe9b8 (diff)
downloadnixlib-1408ac51a4e516e4a435369691121580186a2e4e.tar
nixlib-1408ac51a4e516e4a435369691121580186a2e4e.tar.gz
nixlib-1408ac51a4e516e4a435369691121580186a2e4e.tar.bz2
nixlib-1408ac51a4e516e4a435369691121580186a2e4e.tar.lz
nixlib-1408ac51a4e516e4a435369691121580186a2e4e.tar.xz
nixlib-1408ac51a4e516e4a435369691121580186a2e4e.tar.zst
nixlib-1408ac51a4e516e4a435369691121580186a2e4e.zip
Add missing types
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/system/boot/kernel.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix
index 4ceabb20df50..0a3368ae4167 100644
--- a/nixos/modules/system/boot/kernel.nix
+++ b/nixos/modules/system/boot/kernel.nix
@@ -78,6 +78,7 @@ in
     };
 
     boot.kernelModules = mkOption {
+      type = types.listOf types.string;
       default = [];
       description = ''
         The set of kernel modules to be loaded in the second stage of
@@ -89,6 +90,7 @@ in
     };
 
     boot.initrd.availableKernelModules = mkOption {
+      type = types.listOf types.string;
       default = [];
       example = [ "sata_nv" "ext3" ];
       description = ''
@@ -109,6 +111,7 @@ in
     };
 
     boot.initrd.kernelModules = mkOption {
+      type = types.listOf types.string;
       default = [];
       description = "List of modules that are always loaded by the initrd.";
     };