commit 94532a228d5645a1c694902213bfd003deeafda3
parent c7946b6222dcf8b17f22c12d52669f1091525652
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Thu, 18 Jun 2026 14:59:19 +0200
parent c7946b6222dcf8b17f22c12d52669f1091525652
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Thu, 18 Jun 2026 14:59:19 +0200
nixos/zpha/configure: add module to configure iphone stuff
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/machines/leucas.nix b/machines/leucas.nix @@ -55,6 +55,7 @@ zpha = { configure = { cccdaWifi.enable = true; + iphone.enable = true; }; profiles = {
diff --git a/nixosModules/zpha/configure/iphone.nix b/nixosModules/zpha/configure/iphone.nix @@ -0,0 +1,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; + }; + }; + +}