nixpkgs/nixos/modules/hardware/facter
Jörg Thalheim cb883c36e3 nixos/facter: add boot and storage detection
This adds automatic kernel module detection for boot-critical hardware:

- disk.nix: Detects and loads kernel modules for storage controllers
  Auto-detects modules for: disk controllers, storage controllers,
  and FireWire controllers (for FireWire-attached disks).
  Modules are automatically added to boot.initrd.availableKernelModules.

- keyboard.nix: Detects USB controller drivers for keyboard support
  Ensures USB HID drivers are loaded in initrd for keyboard access
  during boot (critical for LUKS password entry, etc.).

Follow up to #454237.
Part of incremental upstreaming from nixos-facter-modules.
2025-10-23 12:47:17 +02:00
..
default.nix nixos/facter: add boot and storage detection 2025-10-23 12:47:17 +02:00
disk.nix nixos/facter: add boot and storage detection 2025-10-23 12:47:17 +02:00
keyboard.nix nixos/facter: add boot and storage detection 2025-10-23 12:47:17 +02:00
lib.nix
system.nix