diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-08-12 20:00:01 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-08-12 20:00:01 +0200 |
commit | 02cb604fd6d77c2768df484219e752d7fbe5b877 (patch) | |
tree | 6f46f291d5ee6286c977fcc5fcb269a8133e4ea4 | |
parent | bcdbbf3ea158b694192e12be9e719ec653b94fc2 (diff) | |
download | nixpkgs-02cb604fd6d77c2768df484219e752d7fbe5b877.tar nixpkgs-02cb604fd6d77c2768df484219e752d7fbe5b877.tar.gz nixpkgs-02cb604fd6d77c2768df484219e752d7fbe5b877.tar.bz2 nixpkgs-02cb604fd6d77c2768df484219e752d7fbe5b877.tar.lz nixpkgs-02cb604fd6d77c2768df484219e752d7fbe5b877.tar.xz nixpkgs-02cb604fd6d77c2768df484219e752d7fbe5b877.tar.zst nixpkgs-02cb604fd6d77c2768df484219e752d7fbe5b877.zip |
initrd.availableKernelModules: add support for keyboards
As explained in #2169, some keyboards need special drivers, so these are always added, both on installation and normal systems.
-rw-r--r-- | nixos/modules/profiles/all-hardware.nix | 4 | ||||
-rw-r--r-- | nixos/modules/system/boot/kernel.nix | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/nixos/modules/profiles/all-hardware.nix b/nixos/modules/profiles/all-hardware.nix index 511c118e2bf..6385ee69500 100644 --- a/nixos/modules/profiles/all-hardware.nix +++ b/nixos/modules/profiles/all-hardware.nix @@ -8,7 +8,7 @@ { # The initrd has to contain any module that might be necessary for - # mounting the CD/DVD. + # supporting the most important parts of HW like drives. boot.initrd.availableKernelModules = [ # SATA/PATA support. "ahci" @@ -43,7 +43,7 @@ "virtio_net" "virtio_pci" "virtio_blk" "virtio_balloon" "virtio_console" # Keyboards - "hid_apple" + "usbhid" "hid_apple" "hid_logitech_dj" "hid_lenovo_tpkbd" "hid_roccat" ]; # Include lots of firmware. diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix index 9beb7fabce1..79b173a6ead 100644 --- a/nixos/modules/system/boot/kernel.nix +++ b/nixos/modules/system/boot/kernel.nix @@ -195,6 +195,7 @@ in "xhci_hcd" "usbhid" "hid_generic" + "hid_apple" "hid_logitech_dj" "hid_lenovo_tpkbd" "hid_roccat" # Unix domain sockets (needed by udev). "unix" |