summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-09-09 14:22:41 +0200
committerAlan Pearce2017-09-09 16:49:30 +0200
commita5b0892e4f3d255d695f6a54219e1f5edf21c725 (patch)
tree7b96cd5efb5b9531c89f9c98fc70b50bb99f28ff
parent7b6b9247cde2aee34b09c738dcfa8966e0852d51 (diff)
downloadnixos-configuration-a5b0892e4f3d255d695f6a54219e1f5edf21c725.tar.lz
nixos-configuration-a5b0892e4f3d255d695f6a54219e1f5edf21c725.tar.zst
nixos-configuration-a5b0892e4f3d255d695f6a54219e1f5edf21c725.zip
Add adb configuration
-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 0000000..8b511f5
--- /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 7002cf9..9f1f6f0 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";