2024-10-26 19:05:14 -07:00
|
|
|
{ config, lib, pkgs, user, ... }:
|
|
|
|
|
|
|
|
let cfg = config.modules.desktop.peripherals;
|
|
|
|
in {
|
|
|
|
options.modules.desktop.peripherals.enable = lib.mkEnableOption "peripherals";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
libimobiledevice # Library to support iPhone, iPod Touch and iPad devices on Linux
|
|
|
|
ifuse # fuse filesystem implementation to access the contents of iOS devices
|
|
|
|
pySVS # control SVS subwoofers from the command-line
|
2024-10-26 19:41:01 -07:00
|
|
|
opensc # Open source smart card tools and middleware
|
|
|
|
pcsc-tools # Tools are used to test a PC/SC drivers
|
|
|
|
pkcs11helper # Library that simplifies the interaction with PKCS#11
|
2024-10-26 19:05:14 -07:00
|
|
|
];
|
2024-10-26 19:41:01 -07:00
|
|
|
services.usbmuxd.enable = true; # for iOS mounting as storage
|
2024-10-26 19:05:14 -07:00
|
|
|
};
|
|
|
|
}
|