implementing modules for system applications
This commit is contained in:
15
system/modules/utils/android/default.nix
Normal file
15
system/modules/utils/android/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.modules.utils.android;
|
||||
in {
|
||||
options = {
|
||||
modules.utils.android.enable = mkEnableOption "Enables android tools";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.adb.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user