Skip to content

Commit ec6ef7d

Browse files
authored
Merge pull request #44 from numtide/deduplicate_keyboard_modules
Deduplicate keyboard modules
2 parents e1ac6a8 + c234d8f commit ec6ef7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/nixos/keyboard.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ in
77
{
88
options.facter.detected.boot.keyboard.kernelModules = lib.mkOption {
99
type = lib.types.listOf lib.types.str;
10-
default = facterLib.collectDrivers (report.hardware.usb_controller or [ ]);
10+
default = facterLib.stringSet (facterLib.collectDrivers (report.hardware.usb_controller or [ ]));
1111
example = [ "usbhid" ];
1212
description = ''
1313
List of kernel modules to include in the initrd to support the keyboard.

0 commit comments

Comments
 (0)