1 { config, lib, pkgs, ... }:
7 pcmciaUtils = pkgs.pcmciaUtils.passthru.function {
8 inherit (config.hardware.pcmcia) firmware config;
23 description = lib.mdDoc ''
24 Enable this option to support PCMCIA card.
29 type = types.listOf types.path;
31 description = lib.mdDoc ''
32 List of firmware used to handle specific PCMCIA card.
38 type = types.nullOr types.path;
39 description = lib.mdDoc ''
40 Path to the configuration file which maps the memory, IRQs
41 and ports used by the PCMCIA hardware.
50 config = mkIf config.hardware.pcmcia.enable {
52 boot.kernelModules = [ "pcmcia" ];
54 services.udev.packages = [ pcmciaUtils ];
56 environment.systemPackages = [ pcmciaUtils ];