summaryrefslogtreecommitdiff
path: root/mobile/nix/android-composition.nix
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-01-25 20:40:16 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-01-25 20:40:16 +0100
commit466d03a38cb01e9ff9a2d11be113a81c2bdce34a (patch)
treed584482d4ed5e9b8fe569af7ce25594c1bd51d63 /mobile/nix/android-composition.nix
initial commit
Diffstat (limited to 'mobile/nix/android-composition.nix')
-rw-r--r--mobile/nix/android-composition.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/mobile/nix/android-composition.nix b/mobile/nix/android-composition.nix
new file mode 100644
index 0000000..1f8e5d8
--- /dev/null
+++ b/mobile/nix/android-composition.nix
@@ -0,0 +1,14 @@
+with (import <nixpkgs> {
+ config.allowUnfree = true;
+ config.android_sdk.accept_license = true;
+});
+
+androidenv.composeAndroidPackages {
+ platformVersions = ["23" "33"];
+ buildToolsVersions = ["33.0.2"];
+
+ includeEmulator = true;
+ includeSystemImages = true;
+ # systemImageTypes = ["google_apis_playstore"];
+ abiVersions = ["x86_64"];
+}