enable android development

This commit is contained in:
Leonardo Eugênio 2022-08-20 15:22:48 -03:00
parent 6d3d7e5d44
commit 30abda4469
2 changed files with 7 additions and 1 deletions

View file

@ -48,6 +48,11 @@ in {
"vm.max_map_count" = 1048576; # Needed by DayZ "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. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Configure network proxy if necessary # Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.default = "http://user:password@proxy:port/";
@ -137,7 +142,7 @@ in {
users.users.lelgenio = { users.users.lelgenio = {
isNormalUser = true; isNormalUser = true;
description = "Leonardo Eugênio"; description = "Leonardo Eugênio";
extraGroups = [ "networkmanager" "wheel" "docker" ]; extraGroups = [ "networkmanager" "wheel" "docker" "adbusers" ];
shell = pkgs.fish; shell = pkgs.fish;
}; };
# services.getty.autologinUser = "lelgenio"; # services.getty.autologinUser = "lelgenio";

View file

@ -96,6 +96,7 @@ in {
# Programming # Programming
vscode vscode
rustup rustup
android-studio
# cargo # cargo
cargo-edit cargo-edit
cargo-feature cargo-feature