feat: Personal | add android development tools

This commit is contained in:
2026-04-23 15:10:53 +05:00
parent b0d588a4c4
commit 5647f2f39a
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
{ pkgs, ... }:
let
androidComposition = pkgs.androidenv.composeAndroidPackages {
includeNDK = true;
};
androidSdk = androidComposition.androidsdk;
in
{
environment = {
systemPackages = with pkgs; [
androidSdk
android-studio-full
];
variables = let
sdkPath = "${androidSdk}/libexec/android-sdk";
in {
ANDROID_HOME = sdkPath;
ANDROID_SDK_ROOT = sdkPath;
ANDROID_NDK_ROOT = "${sdkPath}/ndk-bundle";
ANDROID_USER_HOME = "\${HOME}/.android";
};
};
}