From 30abda44697c0a59dbb7bff50806122bb73ce1f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sat, 20 Aug 2022 15:22:48 -0300 Subject: [PATCH] enable android development --- system/configuration.nix | 7 ++++++- user/home.nix | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/system/configuration.nix b/system/configuration.nix index 66c6442..6ecc6e5 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -48,6 +48,11 @@ in { "vm.max_map_count" = 1048576; # Needed by DayZ }; + programs.adb.enable = true; + services.udev.packages = [ + pkgs.android-udev-rules + ]; + # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; @@ -137,7 +142,7 @@ in { users.users.lelgenio = { isNormalUser = true; description = "Leonardo EugĂȘnio"; - extraGroups = [ "networkmanager" "wheel" "docker" ]; + extraGroups = [ "networkmanager" "wheel" "docker" "adbusers" ]; shell = pkgs.fish; }; # services.getty.autologinUser = "lelgenio"; diff --git a/user/home.nix b/user/home.nix index 6505ebc..398cc4c 100644 --- a/user/home.nix +++ b/user/home.nix @@ -96,6 +96,7 @@ in { # Programming vscode rustup + android-studio # cargo cargo-edit cargo-feature