Improve onlykey conf

This commit is contained in:
Vili Sinervä 2024-10-15 20:31:40 +03:00
parent 9df3c02e55
commit c520b48320
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
3 changed files with 2 additions and 19 deletions

View file

@ -81,12 +81,7 @@ in
enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-curses;
};
services.udev.extraRules = ''
ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", ENV{MTP_NO_PROBE}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", MODE:="0666"
'';
hardware.onlykey.enable = true;
isoImage.squashfsCompression = "gzip -Xcompression-level 1";