feat(adb): add android tools
This commit is contained in:
parent
2bcdb70936
commit
4016dd6632
17
faucet/android/default.nix
Normal file
17
faucet/android/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{ pkgs
|
||||||
|
, lib
|
||||||
|
, config
|
||||||
|
, ... }: with lib; let
|
||||||
|
cfg = config.faucet.android;
|
||||||
|
in {
|
||||||
|
options.faucet.android = {
|
||||||
|
enable = mkEnableOption "android tools";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
programs.adb.enable = true;
|
||||||
|
|
||||||
|
# allow device access by admin users
|
||||||
|
users.adminGroups = [ "adbusers" ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue