A collection of example NixOS files that be included into configuration.nix on NixOS.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

23 lines
541 B

# NixOS configuration for Android development environment
{ 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 are required 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 = [
"myUserName"
];
}