Merge pull request #240744 from NixOS/pcdcd-plugins-default
nixos: append ccid as a plugin
This commit is contained in:
commit
22deb49735
|
@ -24,7 +24,6 @@ in
|
|||
|
||||
plugins = mkOption {
|
||||
type = types.listOf types.package;
|
||||
default = [ pkgs.ccid ];
|
||||
defaultText = literalExpression "[ pkgs.ccid ]";
|
||||
example = literalExpression "[ pkgs.pcsc-cyberjack ]";
|
||||
description = lib.mdDoc "Plugin packages to be used for PCSC-Lite.";
|
||||
|
@ -56,6 +55,8 @@ in
|
|||
environment.systemPackages = [ package ];
|
||||
systemd.packages = [ (getBin package) ];
|
||||
|
||||
services.pcscd.plugins = [ pkgs.ccid ];
|
||||
|
||||
systemd.sockets.pcscd.wantedBy = [ "sockets.target" ];
|
||||
|
||||
systemd.services.pcscd = {
|
||||
|
|
Loading…
Reference in a new issue