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.

android.nix 541B

1234567891011121314151617181920212223
  1. # NixOS configuration for Android development environment
  2. { config, pkgs, ... }:
  3. {
  4. nixpkgs.config = {
  5. android_sdk.accept_license = true; # Accept the Android SDK licence
  6. };
  7. programs.adb.enable = true; # Enable Android Debug Bridge
  8. # Install other packages that are required to be used with Android.
  9. environment.systemPackages = with pkgs; [
  10. gitRepo # Android's repo management tool
  11. heimdall # Needed to work with Samsung devices
  12. ];
  13. users.groups.adbusers.members = [
  14. "myUserName"
  15. ];
  16. }