Have a more stable set up for iOS tethering

This commit is contained in:
Natsu Kagami 2023-09-03 19:28:44 +02:00
parent 2fe1f8ab14
commit dd74df3a76
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -11,8 +11,13 @@ let
programs.adb.enable = true;
users.users.${config.common.linux.username}.extraGroups = [ "adbusers" ];
};
ios = { config, ... }: mkIf config.common.linux.enable {
ios = { config, pkgs, ... }: mkIf config.common.linux.enable {
services.usbmuxd.enable = true;
services.usbmuxd.package = pkgs.usbmuxd2;
environment.systemPackages = with pkgs; [
libimobiledevice
ifuse
];
users.users.${config.common.linux.username}.extraGroups = [ config.services.usbmuxd.group ];
systemd.network.networks."05-ios-tethering" = {
matchConfig.Driver = "ipheth";