Skip to content

Commit

Permalink
boot.initrd.luks: add input_leds module
Browse files Browse the repository at this point in the history
To get working caps lock lights already at stage 1, the input_leds
module needs to be loaded.

Closes #12456.
  • Loading branch information
flokli committed Dec 19, 2017
1 parent b212125 commit f2a9f9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nixos/modules/system/boot/luksroot.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit f2a9f9a

Please sign in to comment.