From 54ec1fc9baab2f1a06f55f825c99d85fb8d47618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Sat, 9 Dec 2023 00:08:01 +0100 Subject: [PATCH] Fix adb --- os/common.nix | 4 +--- os/geoffrey.nix | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/os/common.nix b/os/common.nix index 35c8d29..5719d75 100644 --- a/os/common.nix +++ b/os/common.nix @@ -27,9 +27,6 @@ kexec-tools openvpn - # android tools - android-udev-rules - # Needed for all the fetchFromGit in this repo on nixos-rebuild git ]; @@ -37,6 +34,7 @@ nixpkgs.config.allowUnfree = true; programs = { + adb.enable = true; # Enable compilation cache ccache.enable = true; # TODO Not enough, see https://nixos.wiki/wiki/CCache. diff --git a/os/geoffrey.nix b/os/geoffrey.nix index 2884532..cd27181 100644 --- a/os/geoffrey.nix +++ b/os/geoffrey.nix @@ -6,7 +6,7 @@ users.users.geoffrey = { isNormalUser = true; - extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + extraGroups = [ "adbusers" "wheel" ]; shell = pkgs.zsh; initialHashedPassword = "$y$j9T$e64bjL7iyVlniEKwKbM9g0$cCn74za0r6L9QMO20Fdxz3/SX0yvhz3Xd6.2BhtbRL1"; # Not a real password