Added Android development deployment

This commit is contained in:
Serĉanto de Scio 2019-10-03 11:23:30 +10:00
parent ee0ae18a03
commit c6d8cac877
Signed by: sercanto
GPG key ID: A4122FF3971B6865

23
Deployments/android.nix Normal file
View file

@ -0,0 +1,23 @@
# Configuration for my Android development requirements
{ config, pkgs, ... }:
{
nixpkgs.config = {
android_sdk.accept_license = true; # Accept the Android SDK licence
};
programs.adb.enable = true; # Enable Android Debug Bridge
# Install other packages that I require to be used with Android.
environment.systemPackages = with pkgs; [
gitRepo # Android's repo management tool
heimdall # Needed to work with Samsung devices
];
users.groups.adbusers.members = [
"craige"
];
}