about summary refs log tree commit diff
path: root/nixos/modules/services/hardware
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2024-01-24 10:53:04 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2024-01-28 19:31:54 +0100
commit3da096a5c3d70f4497d525ef478f588011052962 (patch)
tree096195b6a48f30add51177958b68e0e5cdcd76f8 /nixos/modules/services/hardware
parent15fcb26b3c43d93f3192a0e7d0720615c3104967 (diff)
downloadnixlib-3da096a5c3d70f4497d525ef478f588011052962.tar
nixlib-3da096a5c3d70f4497d525ef478f588011052962.tar.gz
nixlib-3da096a5c3d70f4497d525ef478f588011052962.tar.bz2
nixlib-3da096a5c3d70f4497d525ef478f588011052962.tar.lz
nixlib-3da096a5c3d70f4497d525ef478f588011052962.tar.xz
nixlib-3da096a5c3d70f4497d525ef478f588011052962.tar.zst
nixlib-3da096a5c3d70f4497d525ef478f588011052962.zip
pcsclite: move binaries, polkit, systemd files to out, move libraries to lib
This should make the things related to the udev rules and binaries a lot
simpler and more expected.
Diffstat (limited to 'nixos/modules/services/hardware')
-rw-r--r--nixos/modules/services/hardware/pcscd.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/hardware/pcscd.nix b/nixos/modules/services/hardware/pcscd.nix
index 85accd8335f7..b5963e1d29a3 100644
--- a/nixos/modules/services/hardware/pcscd.nix
+++ b/nixos/modules/services/hardware/pcscd.nix
@@ -46,8 +46,8 @@ in
   config = mkIf config.services.pcscd.enable {
     environment.etc."reader.conf".source = cfgFile;
 
-    environment.systemPackages = [ package.out ];
-    systemd.packages = [ (getBin package) ];
+    environment.systemPackages = [ package ];
+    systemd.packages = [ package ];
 
     services.pcscd.plugins = [ pkgs.ccid ];
 
@@ -64,7 +64,7 @@ in
       # around it, we force the path to the cfgFile.
       #
       # https://github.com/NixOS/nixpkgs/issues/121088
-      serviceConfig.ExecStart = [ "" "${getBin package}/bin/pcscd -f -x -c ${cfgFile}" ];
+      serviceConfig.ExecStart = [ "" "${package}/bin/pcscd -f -x -c ${cfgFile}" ];
     };
   };
 }