From c6d8cac877eba4b08a7663aa5ddfaf9bf41e2f39 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Thu, 3 Oct 2019 11:23:30 +1000 Subject: [PATCH] Added Android development deployment --- Deployments/android.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Deployments/android.nix diff --git a/Deployments/android.nix b/Deployments/android.nix new file mode 100644 index 0000000..8cea19c --- /dev/null +++ b/Deployments/android.nix @@ -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" + ]; + +}