1 { config, lib, pkgs, ... }:
6 meta.maintainers = [ maintainers.mic92 ];
14 description = lib.mdDoc ''
15 Whether to configure system to use Android Debug Bridge (adb).
16 To grant access to a user, it must be part of adbusers group:
17 `users.users.alice.extraGroups = ["adbusers"];`
24 config = mkIf config.programs.adb.enable {
25 services.udev.packages = [ pkgs.android-udev-rules ];
26 environment.systemPackages = [ pkgs.android-tools ];
27 users.groups.adbusers = {};