android
This commit is contained in:
15
modules/graphical/code-android.nix
Normal file
15
modules/graphical/code-android.nix
Normal 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" ];
|
||||
};
|
||||
}
|
||||
@@ -4,6 +4,7 @@
|
||||
imports = [
|
||||
./audio.nix
|
||||
./code.nix
|
||||
./code-android.nix
|
||||
./awesome.nix
|
||||
./emulators.nix
|
||||
./i3.nix
|
||||
|
||||
@@ -58,7 +58,10 @@
|
||||
};
|
||||
graphical = {
|
||||
audio.enable = true;
|
||||
code.enable = true;
|
||||
code = {
|
||||
enable = true;
|
||||
android.enable = true;
|
||||
};
|
||||
emulators.enable = true;
|
||||
gamemode.enable = true;
|
||||
games.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user