We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01a5850 commit dfda270Copy full SHA for dfda270
1 file changed
home/dev/misc.nix
@@ -4,7 +4,13 @@
4
hostPlatform,
5
inputs,
6
...
7
-}: {
+}: let
8
+ droid-m1 = pkgs.writeShellScriptBin "Droid-M1" ''
9
+ mountpoint="$HOME/mnt/Droid-M1"
10
+ mkdir -p "$mountpoint"
11
+ exec ${pkgs.adbfs-rootless}/bin/adbfs "$mountpoint" -d
12
+ '';
13
+in {
14
home.packages =
15
lib.attrsets.attrValues {
16
inherit
@@ -24,6 +30,7 @@
24
30
## macOS
25
31
xcodes
26
32
;
33
+ inherit droid-m1;
27
34
leetcode-tui = inputs.leetcode-tui.packages.${hostPlatform.system}.default;
28
35
}
29
36
++ lib.optionals hostPlatform.isDarwin [
0 commit comments