diff --git a/devices/binto/default.nix b/devices/binto/default.nix index 6e4ea844..b4429e1b 100644 --- a/devices/binto/default.nix +++ b/devices/binto/default.nix @@ -4,6 +4,7 @@ in { imports = [ ./hardware-configuration.nix + ../../modules/android.nix ../../modules/ags ../../modules/audio.nix ../../modules/hyprland diff --git a/devices/wim/default.nix b/devices/wim/default.nix index efa3106f..94ae60ab 100644 --- a/devices/wim/default.nix +++ b/devices/wim/default.nix @@ -4,6 +4,7 @@ in { imports = [ ./hardware-configuration.nix + ../../modules/android.nix ../../modules/ags ../../modules/audio.nix ../../modules/hyprland diff --git a/modules/android.nix b/modules/android.nix new file mode 100644 index 00000000..e99dddc1 --- /dev/null +++ b/modules/android.nix @@ -0,0 +1,10 @@ +{ + config, + pkgs, + ... +}: let + inherit (config.vars) mainUser; +in { + programs.adb.enable = true; + users.users.${mainUser}.extraGroups = ["adbusers"]; +}