mio-ops/profiles/android.nix

23 lines
561 B
Nix
Raw Normal View History

2019-10-03 01:23:30 +00:00
# Configuration for my Android development requirements
{ config, pkgs, ... }:
{
nixpkgs.config = {
2021-11-16 04:57:23 +00:00
android_sdk.accept_license = true; # Accept the Android SDK licence
2019-10-03 01:23:30 +00:00
};
2021-11-16 04:57:23 +00:00
programs.adb.enable = true; # Enable Android Debug Bridge
2019-10-03 01:23:30 +00:00
# Install other packages that I require to be used with Android.
environment.systemPackages = with pkgs; [
2021-11-16 04:57:23 +00:00
gitRepo # Android's repo management tool
heimdall # Needed to work with Samsung devices
kconfig-frontends # Linux kconfig infrastructure
2019-10-03 01:23:30 +00:00
];
2021-11-16 04:57:23 +00:00
users.groups.adbusers.members = [ "craige" ];
2019-10-03 01:23:30 +00:00
}