Improve use of adb rules
modules/config/os.scm
83 | 83 | (service qemu-binfmt-service-type | |
84 | 84 | (qemu-binfmt-configuration | |
85 | 85 | (platforms (lookup-qemu-platforms "arm" "aarch64" "i686" "ppc")))) | |
86 | + | (udev-rules-service 'android android-udev-rules #:groups '("adbusers")) | |
86 | 87 | (modify-services %desktop-services | |
87 | 88 | (rottlog-service-type config => | |
88 | 89 | desktop-rotation-service-config) | |
89 | - | (udev-service-type config => | |
90 | - | (udev-configuration | |
91 | - | (inherit config) | |
92 | - | (rules (cons* android-udev-rules | |
93 | - | (udev-configuration-rules config))))) | |
94 | 90 | (gdm-service-type config => | |
95 | 91 | (gdm-configuration | |
96 | 92 | (inherit config) | |
… | |||
139 | 135 | (supplementary-groups '("netdev" "adbusers" "audio" "video" "kvm"))) | |
140 | 136 | user)) | |
141 | 137 | (operating-system-users system))) | |
142 | - | (groups (cons (user-group (system? #t) (name "adbusers")) | |
143 | - | %base-groups)) | |
138 | + | (groups %base-groups) | |
144 | 139 | (hosts-file | |
145 | 140 | (plain-file "hosts" | |
146 | 141 | (string-append "127.0.0.1 " host-name ".lepiller.eu localhost " host-name "\n" |