1
1
Fork 0

usbmuxd: initial module

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-12-14 14:25:11 -06:00
parent f0b067acd0
commit a0b9cde065
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 17 additions and 0 deletions

View file

@ -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;
})

View file

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