added adb

This commit is contained in:
twoneis 2025-01-23 18:57:53 +01:00
parent 7673d1f9a5
commit ea6ae2f957
2 changed files with 7 additions and 0 deletions

6
modules/apps/android.nix Normal file
View file

@ -0,0 +1,6 @@
{ conf, lib }: let
inherit (lib) mkIf;
in mkIf conf.apps.enable {
programs.adb.enable = true;
users.users.${conf.username}.extraGroups = [ "adbusers" ];
}

View file

@ -8,6 +8,7 @@ in {
./notes.nix ./notes.nix
./programs.nix ./programs.nix
./themes.nix ./themes.nix
./android.nix
]; ];
config = mkIf conf.apps.enable { config = mkIf conf.apps.enable {