From c234d8f6d9c0c5aed074743a345c92fa4c876087 Mon Sep 17 00:00:00 2001 From: r-vdp Date: Mon, 30 Sep 2024 12:30:17 +0200 Subject: [PATCH] Deduplicate keyboard modules --- modules/nixos/keyboard.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/keyboard.nix b/modules/nixos/keyboard.nix index e8991e2..bf23f9b 100644 --- a/modules/nixos/keyboard.nix +++ b/modules/nixos/keyboard.nix @@ -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.