summary refs log tree commit diff
path: root/nixos/modules/system/boot/kernel.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2015-06-10 12:16:25 +0200
committerLluís Batlle i Rossell <viric@viric.name>2015-06-10 12:16:25 +0200
commit1c22734cd2e67842090f5d59a6c7b2fb39c1cf66 (patch)
treed88291d9d2c36c2fc4dcfdf40c275a5e6d927b63 /nixos/modules/system/boot/kernel.nix
parentdeb0ed081072215f09b827ddf4668c886ddadf9f (diff)
downloadnixlib-1c22734cd2e67842090f5d59a6c7b2fb39c1cf66.tar
nixlib-1c22734cd2e67842090f5d59a6c7b2fb39c1cf66.tar.gz
nixlib-1c22734cd2e67842090f5d59a6c7b2fb39c1cf66.tar.bz2
nixlib-1c22734cd2e67842090f5d59a6c7b2fb39c1cf66.tar.lz
nixlib-1c22734cd2e67842090f5d59a6c7b2fb39c1cf66.tar.xz
nixlib-1c22734cd2e67842090f5d59a6c7b2fb39c1cf66.tar.zst
nixlib-1c22734cd2e67842090f5d59a6c7b2fb39c1cf66.zip
Forcing the load of atkbd in initrd.
In some computers, having the module available does not really load it,
therefore, it results in not having the keyboard avaiable in initrd.
Diffstat (limited to 'nixos/modules/system/boot/kernel.nix')
-rw-r--r--nixos/modules/system/boot/kernel.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix
index 0cae9cb844c8..63a095be6311 100644
--- a/nixos/modules/system/boot/kernel.nix
+++ b/nixos/modules/system/boot/kernel.nix
@@ -159,7 +159,7 @@ in
 
     boot.kernel.sysctl."kernel.printk" = config.boot.consoleLogLevel;
 
-    boot.kernelModules = [ "loop" "configs" ];
+    boot.kernelModules = [ "loop" "configs" "atkbd" ];
 
     boot.initrd.availableKernelModules =
       [ # Note: most of these (especially the SATA/PATA modules)