mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 09:28:27 +02:00
fix: add android development tools - adb/fastboot
This commit is contained in:
@@ -146,7 +146,6 @@
|
|||||||
|
|
||||||
# embedded development
|
# embedded development
|
||||||
minicom
|
minicom
|
||||||
android-tools
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@@ -184,14 +183,18 @@
|
|||||||
udev.packages = with pkgs; [
|
udev.packages = with pkgs; [
|
||||||
gnome.gnome-settings-daemon
|
gnome.gnome-settings-daemon
|
||||||
platformio # udev rules for platformio
|
platformio # udev rules for platformio
|
||||||
|
android-udev-rules
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# android development tools, this will install adb/fastboot and other android tools automatically
|
||||||
|
programs.adb.enable = true;
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.ryan = {
|
users.users.ryan = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "ryan";
|
description = "ryan";
|
||||||
extraGroups = [ "users" "networkmanager" "wheel" "docker" "wireshark" ];
|
extraGroups = [ "users" "networkmanager" "wheel" "docker" "wireshark" "adbusers" ];
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJx3Sk20pLL1b2PPKZey2oTyioODrErq83xG78YpFBoj admin@ryan-MBP"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJx3Sk20pLL1b2PPKZey2oTyioODrErq83xG78YpFBoj admin@ryan-MBP"
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user