android: Set ANDROID_HOME

This commit is contained in:
PapaTutuWawa committed 2022-11-12 21:59:36 +01:00
1 parent 06e334c973
commit 3ad54e380d
3 files changed
+17

No files matched your search

+1
View File
@@ -25,6 +25,7 @@
./programs/bluray
./programs/direnv
./programs/obs
./programs/android
# Services
./services/kanshi
+15
View File
@@ -0,0 +1,15 @@
{ pkgs, lib, config, ... }:
let
cfg = config.ptw.programs.android;
in {
options.ptw.programs.android = {
enable = lib.mkEnableOption "Enable Android development options";
};
config = lib.mkIf cfg.enable {
environment.variables = {
"ANDROID_HOME" = "/home/alexander/Development/Android/Sdk";
};
};
}