about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2017-12-19 21:36:51 +0000
committerGitHub <noreply@github.com>2017-12-19 21:36:51 +0000
commitba007d32c989a4e7b770a300098e8affadd8cead (patch)
treea34c96273cd732c37aea505608b367bd5edd0e47 /nixos
parentc9c1ccda4f381c7982671e60135175cc66619dbe (diff)
parentf2a9f9aeab5016d28ab4bcf6da81924ceecdd676 (diff)
Merge pull request #32829 from flokli/input_leds
boot.initrd.luks: add input_leds module
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/luksroot.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix
index 06f004fb06ecc..1db5f75361cb5 100644
--- a/nixos/modules/system/boot/luksroot.nix
+++ b/nixos/modules/system/boot/luksroot.nix
@@ -434,7 +434,9 @@ in
       ["firewire_ohci" "firewire_core" "firewire_sbp2"];
 
     # Some modules that may be needed for mounting anything ciphered
-    boot.initrd.availableKernelModules = [ "dm_mod" "dm_crypt" "cryptd" ] ++ luks.cryptoModules;
+    # Also load input_leds to get caps lock light working (#12456)
+    boot.initrd.availableKernelModules = [ "dm_mod" "dm_crypt" "cryptd" "input_leds" ]
+      ++ luks.cryptoModules;
 
     # copy the cryptsetup binary and it's dependencies
     boot.initrd.extraUtilsCommands = ''