mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 03:07:32 -08:00
move CAC tools to peripherals
This commit is contained in:
parent
5e10a2c3c9
commit
b2a6bcd8ed
@ -4,11 +4,14 @@ let cfg = config.modules.desktop.peripherals;
|
||||
in {
|
||||
options.modules.desktop.peripherals.enable = lib.mkEnableOption "peripherals";
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.usbmuxd.enable = true; # for iOS mounting as storage
|
||||
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
|
||||
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
|
||||
];
|
||||
services.usbmuxd.enable = true; # for iOS mounting as storage
|
||||
};
|
||||
}
|
||||
|
@ -11,13 +11,6 @@ in {
|
||||
};
|
||||
|
||||
config = lib.mkIf (cfg1.enable && cfg2.enable) {
|
||||
# Applications for CAC usage
|
||||
environment.systemPackages = with pkgs; [
|
||||
opensc
|
||||
pcsc-tools
|
||||
pkcs11helper
|
||||
];
|
||||
|
||||
home-manager.users.${user} = {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user