Setting programs.adb.enable = true atm requires accepting the android sdk license.
Is that really necessary?
At least the code at https://android.googlesource.com/platform/system/adb/
appears to be under the apache license.