about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2023-06-30 16:21:57 +0100
committerDomen Kožar <domen@dev.si>2023-06-30 16:21:57 +0100
commit8079c9ac60279d0f12b3eb0be6ea12b106b4ce7c (patch)
tree4f53b6761fa31763e19988697f44222944a8e663 /nixos
parente994574e925cb0e9b4887001992f758544896375 (diff)
nixos: append ccid as a plugin
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/hardware/pcscd.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/hardware/pcscd.nix b/nixos/modules/services/hardware/pcscd.nix
index a09c64645c485..a9e4998efe37a 100644
--- a/nixos/modules/services/hardware/pcscd.nix
+++ b/nixos/modules/services/hardware/pcscd.nix
@@ -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 = {