From 3b839f957f38c0a761c3c295a4cf5a19bba84dae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Thu, 21 Mar 2024 18:11:12 +0100 Subject: [PATCH] 261 current 1970-01-01 01:00:00 23.11.20240320.f091af0 6.1.82 * --- hosts/MaxNixosLaptop/configuration.nix | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) 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;