Merge pull request #265030 from bb2020/usbstor
nixos/usbStorage: update device flag
This commit is contained in:
commit
9127f63b94
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ with lib;
|
|||
|
||||
config = mkIf config.hardware.usbStorage.manageStartStop {
|
||||
services.udev.extraRules = ''
|
||||
ACTION=="add|change", SUBSYSTEM=="scsi_disk", DRIVERS=="usb-storage", ATTR{manage_start_stop}="1"
|
||||
ACTION=="add|change", SUBSYSTEM=="scsi_disk", DRIVERS=="usb-storage", ATTR{manage_system_start_stop}="1"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue