23 lines
561 B
Nix
23 lines
561 B
Nix
# 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
|
|
kconfig-frontends # Linux kconfig infrastructure
|
|
];
|
|
|
|
users.groups.adbusers.members = [ "craige" ];
|
|
|
|
}
|