Skip to content

Commit

Permalink
feat: add adb / fastboot
Browse files Browse the repository at this point in the history
  • Loading branch information
DrymarchonShaun committed Dec 5, 2024
1 parent b375f88 commit b3177f2
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
8 changes: 8 additions & 0 deletions hosts/common/optional/android.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{ configVars, ... }:
{
users.users.${configVars.username}.extraGroups = [
"adbusers"
];
programs.adb.enable = true;

}
9 changes: 7 additions & 2 deletions hosts/common/optional/wireshark.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{ lib, pkgs, ... }:
{
users.users.shaun.extraGroups = [
lib,
configVars,
pkgs,
...
}:
{
users.users.${configVars.username}.extraGroups = [
"wireshark"
];
programs.wireshark = {
Expand Down
1 change: 1 addition & 0 deletions hosts/corais/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ in
"hosts/common/optional/services/syncthing.nix"
"hosts/common/optional/services/ydotool.nix"
"hosts/common/optional/audio.nix" # pipewire and cli controls
"hosts/common/optional/android.nix" # sudoless adb / fastboot
"hosts/common/optional/wireshark.nix"
"hosts/common/optional/unbound.nix"
"hosts/common/optional/recording.nix"
Expand Down
1 change: 1 addition & 0 deletions hosts/natrix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ in
"hosts/common/optional/services/syncthing.nix"
"hosts/common/optional/services/ydotool.nix"
"hosts/common/optional/audio.nix" # pipewire and cli controls
"hosts/common/optional/android.nix" # sudoless adb / fastboot
"hosts/common/optional/wireshark.nix"
"hosts/common/optional/unbound.nix"
"hosts/common/optional/distbuild"
Expand Down

0 comments on commit b3177f2

Please sign in to comment.