2019-10-03 01:23:30 +00:00
|
|
|
# Configuration for my Android development requirements
|
|
|
|
{
|
2022-03-07 14:26:15 +00:00
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2019-10-03 01:23:30 +00:00
|
|
|
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
|
|
|
];
|
|
|
|
|
2022-03-07 14:26:15 +00:00
|
|
|
users.groups.adbusers.members = ["craige"];
|
2019-10-03 01:23:30 +00:00
|
|
|
}
|