diff --git a/options/custom/services/default.nix b/options/custom/services/default.nix index 3c9da10..af28e23 100644 --- a/options/custom/services/default.nix +++ b/options/custom/services/default.nix @@ -46,6 +46,7 @@ with lib; { #// swayidle.enable = true; swaync.enable = true; swayosd.enable = true; + usbmuxd.enable = true; #// xembed-sni-proxy.enable = true; #// zerotierone.enable = true; }) diff --git a/options/custom/services/usbmuxd.nix b/options/custom/services/usbmuxd.nix new file mode 100644 index 0000000..cad49ad --- /dev/null +++ b/options/custom/services/usbmuxd.nix @@ -0,0 +1,16 @@ +{ + config, + lib, + pkgs, + ... +}: +with lib; let + cfg = config.custom.services.usbmuxd; +in { + options.custom.services.usbmuxd.enable = mkOption {default = false;}; + + config = mkIf cfg.enable { + services.usbmuxd.enable = true; + environment.systemPackages = with pkgs; [libimobiledevice]; + }; +}