NixOS/system/modules/android.nix

13 lines
242 B
Nix
Raw Normal View History

2024-06-12 09:54:11 +07:00
{ config, lib, pkgs, ... }:
let
cfg = config.profile.android;
in
{
config = lib.mkIf cfg.enable {
programs.adb.enable = true;
environment.systemPackages = with pkgs; [
androidenv.androidPkgs_9_0.platform-tools
];
};
}