Add support for the android debug bridge.

This commit is contained in:
Tom Alexander
2026-02-03 11:14:05 -05:00
parent b0cebc7973
commit ad88a526bc
5 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.me = {
android.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install android.";
};
};
config = lib.mkIf config.me.android.enable {
programs.adb.enable = true;
users.users.talexander.extraGroups = [ "adbusers" ];
};
}