aboutsummaryrefslogtreecommitdiff
path: root/hardware-configuration.nix
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2021-09-14 13:37:00 +0530
committerAkshay Nair <phenax5@gmail.com>2021-09-14 13:37:00 +0530
commit69d464818c7a6e599771fe67d407c163c8a7a0c4 (patch)
treeb361000d0cbfa4609cc66a8a1c707e63d859990d /hardware-configuration.nix
parent4d89e28f26075ecf3a8d132fe5177eecef99b565 (diff)
downloadnixos-config-69d464818c7a6e599771fe67d407c163c8a7a0c4.tar.gz
nixos-config-69d464818c7a6e599771fe67d407c163c8a7a0c4.zip
config changes sync
Diffstat (limited to '')
-rw-r--r--hardware-configuration.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix
index b3723d5..d00ff1d 100644
--- a/hardware-configuration.nix
+++ b/hardware-configuration.nix
@@ -25,6 +25,11 @@
options snd slots=snd-hda-intel
'';
+ services.udev.extraRules = ''
+ # DualShock 4 over bluetooth hidraw
+ KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0666"
+ '';
+
hardware = {
enableAllFirmware = true;
cpu.intel.updateMicrocode = true;