25 lines
399 B
Nix
25 lines
399 B
Nix
{
|
|
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" ];
|
|
};
|
|
}
|