diff options
| author | Akshay Nair <phenax5@gmail.com> | 2022-03-03 23:15:35 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2022-03-03 23:15:35 +0530 |
| commit | 6094a9fa1548a1b6ca510d0707f1d317121f75ea (patch) | |
| tree | 0610ae5a52e2c55268e410b15622352ff27350c0 /hardware-configuration.nix | |
| parent | e160c24728bad4076f148b0a31de92f88df365d8 (diff) | |
| download | nixos-config-6094a9fa1548a1b6ca510d0707f1d317121f75ea.tar.gz nixos-config-6094a9fa1548a1b6ca510d0707f1d317121f75ea.zip | |
config sync
Diffstat (limited to '')
| -rw-r--r-- | hardware-configuration.nix | 18 |
1 files changed, 12 insertions, 6 deletions
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; |
