1
1
Fork 0
nixos/options/custom/services/usbmuxd.nix
Myned a0b9cde065
usbmuxd: initial module
Signed-off-by: Myned <dev@bjork.tech>
2024-12-14 14:25:11 -06:00

16 lines
304 B
Nix

{
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];
};
}