18 lines
306 B
Nix
18 lines
306 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
options.my.android.enable = lib.mkEnableOption { };
|
|
|
|
config = lib.mkIf config.my.android.enable {
|
|
# Open kde connect ports
|
|
programs.kdeconnect.enable = true;
|
|
|
|
programs.adb.enable = true;
|
|
services.udev.packages = [ pkgs.android-udev-rules ];
|
|
};
|
|
}
|