These two lines can be

```rb
(prefix/'etc/nfc/libnfc.conf').write "allow_intrusive_scan=yes"
```