From a5b0892e4f3d255d695f6a54219e1f5edf21c725 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 9 Sep 2017 14:22:41 +0200 Subject: Add adb configuration --- modules/adb.nix | 9 +++++++++ satoshipad.nix | 1 + 2 files changed, 10 insertions(+) create mode 100644 modules/adb.nix 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"; -- cgit 1.4.1