mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-12-23 01:35:51 +01:00
29 lines
577 B
Nix
29 lines
577 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
cfg = config.jade.desktop.ios-compat;
|
|
in
|
|
with lib; {
|
|
options.jade.desktop.ios-compat = {
|
|
enable = mkEnableOption "Enable the ios compatability programs";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
services = {
|
|
usbmuxd.enable = true;
|
|
gvfs.enable = true;
|
|
};
|
|
home-manager.users.jade = {pkgs, ...}: {
|
|
home.packages = with pkgs; [
|
|
libimobiledevice
|
|
libimobiledevice-glue
|
|
ifuse
|
|
usbmuxd
|
|
libusbmuxd
|
|
gvfs
|
|
];
|
|
};
|
|
};
|
|
}
|