From 6094a9fa1548a1b6ca510d0707f1d317121f75ea Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Thu, 3 Mar 2022 23:15:35 +0530 Subject: config sync --- hardware-configuration.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'hardware-configuration.nix') diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 960306f..6beaa45 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -10,7 +10,7 @@ boot.kernelPackages = pkgs.linuxPackages_5_10; boot.initrd = { availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" ]; - kernelModules = []; + kernelModules = [ ]; }; boot.kernelModules = [ "kvm-intel" @@ -20,15 +20,21 @@ "snd-rawmidi" ]; boot.kernelParams = [ "i8042.nopnp=1" "pci=nocrs" "i915.enable_dpcd_backlight=1" "acpi_backlight=vendor" ]; - boot.extraModulePackages = []; + boot.extraModulePackages = [ ]; boot.extraModprobeConfig = '' options snd slots=snd-hda-intel ''; - services.udev.extraRules = '' - # DualShock 4 over bluetooth hidraw - KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0666" - ''; + services.udev = { + packages = [ + pkgs.android-udev-rules + ]; + + extraRules = '' + # DualShock 4 over bluetooth hidraw + KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0666" + ''; + }; hardware = { enableAllFirmware = true; -- cgit v1.3.1