diff --git a/hosts/MaxNixosLaptop/configuration.nix b/hosts/MaxNixosLaptop/configuration.nix index d72ddba..628d72b 100644 --- a/hosts/MaxNixosLaptop/configuration.nix +++ b/hosts/MaxNixosLaptop/configuration.nix @@ -132,10 +132,6 @@ }; services.blueman.enable = true; - services.udev.extraRules = '' - ACTION=="add", KERNEL=="event[0-9]*", ATTRS{name}=="ELAN2513:00 04F3:2D9C", SYMLINK+="touchscreen0" - ''; - # Enable the OpenSSH daemon. # services.openssh.enable = true; diff --git a/modules/home-manager/sway.nix b/modules/home-manager/sway.nix index a1d5487..63ebf73 100644 --- a/modules/home-manager/sway.nix +++ b/modules/home-manager/sway.nix @@ -26,7 +26,7 @@ rotate_lisgd = pkgs.writeShellScriptBin "rotate_lisgd" '' # PREV_ORIENTATION and ORIENTATION are given by rot8 - LISGD_INPUT=/dev/input/by-path/platform-AMDI0010:02-event + LISGD_INPUT=/dev/input/event14 # open nwggrid by swiping up from the bottom edge LISGD_ACTIONS=("1,DU,B,*,R,${pkgs.sway}/bin/swaymsg exec ${pkgs.nwg-launchers}/bin/nwggrid -client") # close window by swiping down with 3 fingers