1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
lib,
config,
pkgs,
...
}:
{
options.zpha.configure.iphone.enable = lib.mkEnableOption "configure iphone specific stuff";
config = lib.mkIf config.zpha.configure.iphone.enable {
environment.systemPackages = [ pkgs.libimobiledevice ];
services.usbmuxd = {
enable = true;
package = pkgs.usbmuxd2;
};
};
}