usbmuxd: initial module
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
f0b067acd0
commit
a0b9cde065
2 changed files with 17 additions and 0 deletions
|
@ -46,6 +46,7 @@ with lib; {
|
||||||
#// swayidle.enable = true;
|
#// swayidle.enable = true;
|
||||||
swaync.enable = true;
|
swaync.enable = true;
|
||||||
swayosd.enable = true;
|
swayosd.enable = true;
|
||||||
|
usbmuxd.enable = true;
|
||||||
#// xembed-sni-proxy.enable = true;
|
#// xembed-sni-proxy.enable = true;
|
||||||
#// zerotierone.enable = true;
|
#// zerotierone.enable = true;
|
||||||
})
|
})
|
||||||
|
|
16
options/custom/services/usbmuxd.nix
Normal file
16
options/custom/services/usbmuxd.nix
Normal 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];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue