all repos — nixfiles @ a5b0892e4f3d255d695f6a54219e1f5edf21c725

System and user configuration, managed by nix and home-manager

Add adb configuration
Alan Pearce alan@alanpearce.eu
Sat, 09 Sep 2017 14:22:41 +0200
commit

a5b0892e4f3d255d695f6a54219e1f5edf21c725

parent

7b6b9247cde2aee34b09c738dcfa8966e0852d51

2 files changed, 10 insertions(+), 0 deletions(-)

jump to
A modules/adb.nix
@@ -0,0 +1,9 @@+{ config, pkgs, ... }:
+
+{ programs.adb.enable = true;
+  users.groups.adbusers = {};
+
+  services.udev = {
+   packages = [ pkgs.android-udev-rules ];
+  };
+}
M satoshipad.nixsatoshipad.nix
@@ -7,6 +7,7 @@ ./modules/grub2.nix     ./modules/laptop.nix
     ./modules/thinkpad.nix
     ./modules/audio.nix
+    ./modules/adb.nix
   ];
 
   networking.hostName = "satoshipad";