From cb4b9218029c9cc557c38f9bd0161eea327001fa Mon Sep 17 00:00:00 2001 From: Bad Date: Sat, 8 May 2021 11:49:24 +0200 Subject: [PATCH] Add android dev profile --- profiles/androidev/default.nix | 11 +++++++++++ profiles/develop/default.nix | 1 - suites/default.nix | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 profiles/androidev/default.nix diff --git a/profiles/androidev/default.nix b/profiles/androidev/default.nix new file mode 100644 index 0000000..5bd34ac --- /dev/null +++ b/profiles/androidev/default.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: +{ + environment.systemPackages = with pkgs; [ + androidStudioPackages.dev + genymotion + ]; + + programs.adb.enable = true; + virtualisation.virtualbox.host.enable = true; + # virtualisation.anbox.enable = true; +} diff --git a/profiles/develop/default.nix b/profiles/develop/default.nix index 35919a0..88bbf2c 100644 --- a/profiles/develop/default.nix +++ b/profiles/develop/default.nix @@ -9,7 +9,6 @@ libcxx git gdb - androidStudioPackages.dev ]; virtualisation.podman.enable = true; virtualisation.docker.enable = true; diff --git a/suites/default.nix b/suites/default.nix index 781af55..07d3157 100644 --- a/suites/default.nix +++ b/suites/default.nix @@ -4,7 +4,7 @@ base = [ users.root ]; workstation = [ users.root sway develop game profiles.workstation ssh flatpak torrents pwn tor ]; desktop = workstation ++ [ users.mae-desk amd school three_dee ]; - lap = workstation ++ [ users.mae-lap laptop bluetooth print networkmanager ]; + lap = workstation ++ [ users.mae-lap laptop bluetooth print networkmanager androidev ]; }; user = with userProfiles; rec { base = [ direnv git ];