nixos/adb: drop

This commit is contained in:
Guanran Wang
2026-01-05 19:18:07 +08:00
parent eb2f008ec9
commit d037468346
3 changed files with 7 additions and 29 deletions
-1
View File
@@ -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
-28
View File
@@ -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 ];
};
}
+7
View File
@@ -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"