18 lines
304 B
Nix
18 lines
304 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.local.sys.androidSupport;
|
|
in {
|
|
options.local.sys.androidSupport = {
|
|
enable = mkEnableOption "androidSupport settings";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
android-tools
|
|
];
|
|
};
|
|
}
|