Skip to content

Commit c234d8f

Browse files
committed
Deduplicate keyboard modules
1 parent e1ac6a8 commit c234d8f

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)