mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 04:08:12 +09:00
adb
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
_: {
|
||||||
|
perSystem =
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
devShells.android = pkgs.mkShell {
|
||||||
|
packages = with pkgs; [
|
||||||
|
android-tools # adb, fastboot
|
||||||
|
];
|
||||||
|
|
||||||
|
shellHook = ''
|
||||||
|
alias adb-shutter-off='adb shell settings put system csc_pref_camera_forced_shuttersound_key 0'
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./dotnix.nix
|
./dotnix.nix
|
||||||
|
./android.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user