1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 02:43:24 +03:00

examples/demo: Fix adbd enable in burn tool

This commit is contained in:
Samuel Dionne-Riel 2020-05-27 18:32:14 -04:00
parent 30ff772fbd
commit 275fa9c676

View File

@ -15,7 +15,7 @@ in
# Only enable `adb` if we know how to. # Only enable `adb` if we know how to.
# FIXME: relies on implementation details. Poor separation of concerns. # FIXME: relies on implementation details. Poor separation of concerns.
mobile.adbd.enable = (config.mobile.system.type == "android") && mobile.adbd.enable = (config.mobile.system.type == "android") &&
(config.mobile.usb.mode != "gadgetfs" || device_info.gadgetfs.functions ? ffs) (config.mobile.usb.mode != "gadgetfs" || config.mobile.usb.gadgetfs.functions ? ffs)
; ;
# Enables networking and ssh in stage-1 ! # Enables networking and ssh in stage-1 !