From 88537d8f3d93c1625e24674e9a9a5958644eee68 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Sun, 7 Jul 2024 18:57:41 +0200 Subject: [PATCH] add scrcpy --- modules/hardware/android.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/hardware/android.nix b/modules/hardware/android.nix index ca131ec..ea5c06a 100644 --- a/modules/hardware/android.nix +++ b/modules/hardware/android.nix @@ -9,6 +9,9 @@ in { programs.adb = { enable = true; }; + environment.systemPackages = with pkgs;[ + scrcpy # mirrors screen to pc, -S turns off screen while active, --render-driver opengl uses opengl for rendering + ]; users.users.${config.mainUser.name}.extraGroups = [ "adbusers" ]; }; }