feat: add udev rules for adb

This commit is contained in:
Laureηt 2023-03-19 14:27:25 +01:00
parent e331fe0121
commit a18316278c
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -102,6 +102,9 @@ in {
(nerdfonts.override { fonts = [ "FiraCode" ]; }) (nerdfonts.override { fonts = [ "FiraCode" ]; })
]; ];
# udev
services.udev.packages = [ pkgs.android-udev-rules ];
# audio # audio
services.pipewire = { services.pipewire = {
enable = true; enable = true;
@ -124,7 +127,7 @@ in {
users.users.laurent = { users.users.laurent = {
isNormalUser = true; isNormalUser = true;
initialPassword = "laurent"; initialPassword = "laurent";
extraGroups = [ "wheel" "video" "docker" ]; extraGroups = [ "wheel" "video" "docker" "adbusers" ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
home-manager.users.laurent = { home-manager.users.laurent = {