2020-08-16 08:33:44 +00:00
|
|
|
# Android is the mobile version of Linux.
|
|
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
options.modules.dev.android = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf config.modules.dev.android.enable {
|
|
|
|
my.packages = with pkgs; [
|
|
|
|
android-studio # The apartment for Android development.
|
|
|
|
dart # It's JavaScript except saner and slimmer.
|
2020-08-28 07:58:17 +00:00
|
|
|
unstable.flutter # It's Electron except saner and slimmer.
|
2020-08-24 15:56:31 +00:00
|
|
|
kotlin # It's Java except saner and slimmer.
|
2020-08-16 08:33:44 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Enable Android Debug Bridge for some device debugging.
|
|
|
|
programs.adb.enable = true;
|
|
|
|
};
|
|
|
|
}
|