summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2017-09-09 14:22:41 +0200
committerAlan Pearce2017-09-09 16:49:30 +0200
commita5b0892e4f3d255d695f6a54219e1f5edf21c725 (patch)
tree7b96cd5efb5b9531c89f9c98fc70b50bb99f28ff /modules
parent7b6b9247cde2aee34b09c738dcfa8966e0852d51 (diff)
downloadnixos-configuration-a5b0892e4f3d255d695f6a54219e1f5edf21c725.tar.lz
nixos-configuration-a5b0892e4f3d255d695f6a54219e1f5edf21c725.tar.zst
nixos-configuration-a5b0892e4f3d255d695f6a54219e1f5edf21c725.zip
Add adb configuration
Diffstat (limited to 'modules')
-rw-r--r--modules/adb.nix9
1 files changed, 9 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 ];
+  };
+}