1 { config, lib, pkgs, ... }:
4 meta.maintainers = [ lib.maintainers.mic92 ];
9 enable = lib.mkOption {
11 type = lib.types.bool;
13 Whether to configure system to use Android Debug Bridge (adb).
14 To grant access to a user, it must be part of adbusers group:
15 `users.users.alice.extraGroups = ["adbusers"];`
22 config = lib.mkIf config.programs.adb.enable {
23 services.udev.packages = [ pkgs.android-udev-rules ];
24 environment.systemPackages = [ pkgs.android-tools ];
25 users.groups.adbusers = {};