1a737bd471
Note: not the actual initial commit. I swear I will stop repeatedly force pushing to this single commit eventually ok.
18 lines
290 B
Nix
18 lines
290 B
Nix
{ pkgs, config, lib, ... }:
|
|
|
|
let
|
|
cfg = config.my.ios;
|
|
in {
|
|
options.my.ios = {
|
|
enable = lib.mkEnableOption null;
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.usbmuxd.enable = true;
|
|
environment.systemPackages = with pkgs; [
|
|
libimobiledevice
|
|
ifuse
|
|
];
|
|
};
|
|
}
|