summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/adb.nix9
-rw-r--r--satoshipad.nix1
2 files changed, 10 insertions, 0 deletions
diff --git a/modules/adb.nix b/modules/adb.nix
new file mode 100644
index 00000000..8b511f55
--- /dev/null
+++ b/modules/adb.nix
@@ -0,0 +1,9 @@
+{ config, pkgs, ... }:
+
+{ programs.adb.enable = true;
+  users.groups.adbusers = {};
+
+  services.udev = {
+   packages = [ pkgs.android-udev-rules ];
+  };
+}
diff --git a/satoshipad.nix b/satoshipad.nix
index 7002cf98..9f1f6f05 100644
--- a/satoshipad.nix
+++ b/satoshipad.nix
@@ -7,6 +7,7 @@
     ./modules/laptop.nix
     ./modules/thinkpad.nix
     ./modules/audio.nix
+    ./modules/adb.nix
   ];
 
   networking.hostName = "satoshipad";