diff --git a/configuration.nix b/configuration.nix index 10f3833..70241be 100644 --- a/configuration.nix +++ b/configuration.nix @@ -180,7 +180,11 @@ fontconfig glibc gobject-introspection + sg3_utils ]; + services.udev.extraRules = '' + ACTION=="add", ATTRS{idProduct}=="1500", ATTRS{idVendor}=="05ac", DRIVERS=="usb", RUN+="${pkgs.sg3_utils}/bin/sg_raw /dev/$kernel EA 00 00 00 00 00 01" + ''; services.flatpak.enable = true;