diff options
author | Florian Klink <flokli@flokli.de> | 2017-12-19 00:57:45 +0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2017-12-19 01:07:37 +0100 |
commit | f2a9f9aeab5016d28ab4bcf6da81924ceecdd676 (patch) | |
tree | 9155f28a40c7a7116c8b90f2e38dac8d2331624c /nixos/modules/system/boot/luksroot.nix | |
parent | b212125b5418fe181e320dbfefd0efc8e7c2e3d5 (diff) | |
download | nixpkgs-f2a9f9aeab5016d28ab4bcf6da81924ceecdd676.tar nixpkgs-f2a9f9aeab5016d28ab4bcf6da81924ceecdd676.tar.gz nixpkgs-f2a9f9aeab5016d28ab4bcf6da81924ceecdd676.tar.bz2 nixpkgs-f2a9f9aeab5016d28ab4bcf6da81924ceecdd676.tar.lz nixpkgs-f2a9f9aeab5016d28ab4bcf6da81924ceecdd676.tar.xz nixpkgs-f2a9f9aeab5016d28ab4bcf6da81924ceecdd676.tar.zst nixpkgs-f2a9f9aeab5016d28ab4bcf6da81924ceecdd676.zip |
boot.initrd.luks: add input_leds module
To get working caps lock lights already at stage 1, the input_leds module needs to be loaded. Closes #12456.
Diffstat (limited to 'nixos/modules/system/boot/luksroot.nix')
-rw-r--r-- | nixos/modules/system/boot/luksroot.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix index 06f004fb06e..1db5f75361c 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 = '' |