diff --git a/hosts/goober/features/hardware/default.nix b/hosts/goober/features/hardware/default.nix index 3f10141..19b59bf 100644 --- a/hosts/goober/features/hardware/default.nix +++ b/hosts/goober/features/hardware/default.nix @@ -1,8 +1,9 @@ -{config, ...}: +{ config, ... }: { imports = [ ./bluetooth.nix ./pipewire.nix ./nvidia.nix + ./ios-phone-support.nix ]; } diff --git a/hosts/goober/features/hardware/ios-phone-support.nix b/hosts/goober/features/hardware/ios-phone-support.nix new file mode 100644 index 0000000..9bf960f --- /dev/null +++ b/hosts/goober/features/hardware/ios-phone-support.nix @@ -0,0 +1,14 @@ +{ config, pkgs, ... }: +{ + services.usbmuxd = { + enable = true; + package = pkgs.usbmuxd2; + }; + + environment.systemPackages = with pkgs; [ + libimobiledevice + usbutils + ifuse # optional, to mount using 'ifuse' + ]; + +}