nixos/adb: drop
This commit is contained in:
@@ -160,7 +160,6 @@
|
||||
./misc/wordlist.nix
|
||||
./programs/_1password-gui.nix
|
||||
./programs/_1password.nix
|
||||
./programs/adb.nix
|
||||
./programs/alvr.nix
|
||||
./programs/amnezia-vpn.nix
|
||||
./programs/appgate-sdp.nix
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
meta.maintainers = [ lib.maintainers.mic92 ];
|
||||
|
||||
###### interface
|
||||
options = {
|
||||
programs.adb = {
|
||||
enable = lib.mkOption {
|
||||
default = false;
|
||||
type = lib.types.bool;
|
||||
description = ''
|
||||
Whether to configure system to use Android Debug Bridge (adb).
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
###### implementation
|
||||
config = lib.mkIf config.programs.adb.enable {
|
||||
environment.systemPackages = [ pkgs.android-tools ];
|
||||
};
|
||||
}
|
||||
@@ -63,6 +63,13 @@ in
|
||||
"networking"
|
||||
"wicd"
|
||||
] "The corresponding package was removed from nixpkgs.")
|
||||
(mkRemovedOptionModule
|
||||
[
|
||||
"programs"
|
||||
"adb"
|
||||
]
|
||||
"This option is no longer needed as systemd 258 handles uaccess rules automatically. Please add `pkgs.android-tools` to your system packages to get the adb command."
|
||||
)
|
||||
(mkRemovedOptionModule [
|
||||
"programs"
|
||||
"cardboard"
|
||||
|
||||
Reference in New Issue
Block a user