Android: Difference between revisions

imported>Makefu
No edit summary
imported>Makefu
No edit summary
Line 4: Line 4:
% adb connect 192.168.1.10
% adb connect 192.168.1.10
% adb shell
% adb shell
</syntaxhighlight>
Add these lines to your <code>configuration.nix</code> for enabling adb in NixOS for unprivileged users
<syntaxhighlight lang=nix>
{
  ...
  programs.adb.enable = true;
  users.users.<your-user>.extraGroups = ["adbusers"];
}
</syntaxhighlight>
</syntaxhighlight>