This commit is contained in:
Kopatz
2024-06-04 11:21:38 +02:00
parent 1226b41379
commit d8a3ffd85d
3 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
{ config, pkgs, inputs, lib, ... }:
with lib;
let cfg = config.custom.graphical.code.android;
in {
options.custom.graphical.code.android = {
enable = mkEnableOption "Enables code";
};
config = mkIf cfg.enable {
documentation.dev.enable = true;
programs.adb.enable = true;
environment.systemPackages = with pkgs; [ android-studio ];
users.users.${config.mainUser.name}.extraGroups = [ "adbusers" "kvm" ];
};
}