summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibault Polge <thibault@thb.lt>2021-04-30 10:21:43 +0200
committerThibault Polge <thibault@thb.lt>2021-04-30 10:33:03 +0200
commit71d9291742854c460c379153995402fa0d7ba374 (patch)
tree94bb7d1c026a39dc699ade1c2ae2a7c42dbe6a9a
parent2bd34a98af6bcb759030a9fba3a2565c65fe6725 (diff)
downloadnixpkgs-71d9291742854c460c379153995402fa0d7ba374.tar
nixpkgs-71d9291742854c460c379153995402fa0d7ba374.tar.gz
nixpkgs-71d9291742854c460c379153995402fa0d7ba374.tar.bz2
nixpkgs-71d9291742854c460c379153995402fa0d7ba374.tar.lz
nixpkgs-71d9291742854c460c379153995402fa0d7ba374.tar.xz
nixpkgs-71d9291742854c460c379153995402fa0d7ba374.tar.zst
nixpkgs-71d9291742854c460c379153995402fa0d7ba374.zip
nixos/pcscd: Correctly install pcsclite (fix #121121)
This makes sure that the polkit policies for pcsclite are correcly loaded.
-rw-r--r--nixos/modules/services/hardware/pcscd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/hardware/pcscd.nix b/nixos/modules/services/hardware/pcscd.nix
index 59c12ee12ca..4fc1e351f50 100644
--- a/nixos/modules/services/hardware/pcscd.nix
+++ b/nixos/modules/services/hardware/pcscd.nix
@@ -50,6 +50,7 @@ in
 
     environment.etc."reader.conf".source = cfgFile;
 
+    environment.systemPackages = [ pkgs.pcsclite ];
     systemd.packages = [ (getBin pkgs.pcsclite) ];
 
     systemd.sockets.pcscd.wantedBy = [ "sockets.target" ];