From 4d7601861d4c8e73a5cc3b1dd62dffc7fd9b00f6 Mon Sep 17 00:00:00 2001 From: harry123 Date: Sun, 23 Feb 2025 11:25:52 +0100 Subject: [PATCH] added ios phone support --- hosts/goober/features/hardware/default.nix | 3 ++- .../goober/features/hardware/ios-phone-support.nix | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 hosts/goober/features/hardware/ios-phone-support.nix 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' + ]; + +}