modules!!!
This commit is contained in:
parent
eb1a4786f4
commit
6f1ebdcc9a
24 changed files with 877 additions and 574 deletions
24
modules/desktop/ios-compat.nix
Normal file
24
modules/desktop/ios-compat.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ 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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue