From 9023767f907ae219f70b309a1a3c4ad43a61bd79 Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Tue, 3 Sep 2024 19:11:34 +0300 Subject: [PATCH] fix: ADB --- nixos/modules/adb.nix | 4 ++++ nixos/modules/bundle.nix | 1 + 2 files changed, 5 insertions(+) create mode 100644 nixos/modules/adb.nix diff --git a/nixos/modules/adb.nix b/nixos/modules/adb.nix new file mode 100644 index 0000000..8c073d7 --- /dev/null +++ b/nixos/modules/adb.nix @@ -0,0 +1,4 @@ +{ + programs.adb.enable = true; + users.users.sweetbread.extraGroups = ["adbusers"]; # FIXME: check users +} diff --git a/nixos/modules/bundle.nix b/nixos/modules/bundle.nix index 4c042f2..fd2d104 100644 --- a/nixos/modules/bundle.nix +++ b/nixos/modules/bundle.nix @@ -12,5 +12,6 @@ ./bluetooth.nix ./vpn.nix ./printing.nix + ./adb.nix ]; }