1
1
Fork 0
nixos/options/custom/services/usbmuxd.nix

17 lines
304 B
Nix
Raw Normal View History

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