diff --git a/hosts/MaxNixosLaptop/configuration.nix b/hosts/MaxNixosLaptop/configuration.nix index c2b32f7..7d4da21 100644 --- a/hosts/MaxNixosLaptop/configuration.nix +++ b/hosts/MaxNixosLaptop/configuration.nix @@ -90,11 +90,6 @@ wget fprintd home-manager - picoprobe-udev-rules - teensy-udev-rules - qmk-udev-rules - game-devices-udev-rules - android-udev-rules ]; fonts.packages = with pkgs; [ @@ -137,9 +132,19 @@ }; services.blueman.enable = true; - services.udev.extraRules = '' - ACTION=="add", KERNEL=="event[0-9]*", DEVPATH="/devices/platform/AMDI0010:02/i2c-2/i2c-ELAN2513:00/0018:04F3:2D9C.0001/input/input[0-9]*/event[0-9]*", SYMLINK+="touchscreen0" - ''; + services.udev = { + enable = true; + packages = with pkgs; [ + picoprobe-udev-rules + teensy-udev-rules + qmk-udev-rules + game-devices-udev-rules + android-udev-rules + ]; + extraRules = '' + ACTION=="add", KERNEL=="event[0-9]*", DEVPATH="/devices/platform/AMDI0010:02/i2c-2/i2c-ELAN2513:00/0018:04F3:2D9C.0001/input/input[0-9]*/event[0-9]*", SYMLINK+="touchscreen0" + ''; + }; services.flatpak.enable = true;