feat(ios): init module
This commit is contained in:
1 parent
23e867e357
commit
42e85ac47e
1 file changed
+18
@@ -0,0 +1,18 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.sydnix.ios;
|
||||
in {
|
||||
options.sydnix.ios = {
|
||||
enable = lib.mkEnableOption "interaction with iOS devices over USB";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Required for libimobiledevice, seemingly.
|
||||
services.usbmuxd.enable = true;
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.ifuse
|
||||
pkgs.libimobiledevice
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user