Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 433 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 433 Bytes

AutoAdb

GitHub

Everything in the command attribute is turned into a shell script and passed to a systemd service.

Example usage

# configuration.nix
{
  services.autoadb = {
    enable = true;
    package = pkgs.autoadb;
    command = "
      adb shell settings put global sem_enhanced_cpu_responsiveness 1
      scrcpy -s '{}'
    ";
    extraPackages = [ pkgs.scrcpy ];
  };
}