format all
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
let cfg = config.custom.hardware.android;
|
||||
in {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.custom.hardware.android;
|
||||
in
|
||||
{
|
||||
options.custom.hardware.android = {
|
||||
enable = lib.mkEnableOption "Enables android phone support";
|
||||
};
|
||||
@@ -9,7 +16,7 @@ in {
|
||||
programs.adb = {
|
||||
enable = true;
|
||||
};
|
||||
environment.systemPackages = with pkgs;[
|
||||
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" ];
|
||||
|
||||
Reference in New Issue
Block a user