Skip to content

Commit

Permalink
Merge pull request #44 from numtide/deduplicate_keyboard_modules
Browse files Browse the repository at this point in the history
Deduplicate keyboard modules
  • Loading branch information
brianmcgee authored Sep 30, 2024
2 parents e1ac6a8 + c234d8f commit ec6ef7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nixos/keyboard.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ in
{
options.facter.detected.boot.keyboard.kernelModules = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = facterLib.collectDrivers (report.hardware.usb_controller or [ ]);
default = facterLib.stringSet (facterLib.collectDrivers (report.hardware.usb_controller or [ ]));
example = [ "usbhid" ];
description = ''
List of kernel modules to include in the initrd to support the keyboard.
Expand Down

0 comments on commit ec6ef7d

Please sign in to comment.