diff options
author | Nick Cao <nickcao@nichi.co> | 2024-03-21 16:20:00 -0400 |
---|---|---|
committer | Nick Cao <nickcao@nichi.co> | 2024-03-22 20:14:49 -0400 |
commit | cee0d0bac7ab90424b5e3d9b03eee87181546e4a (patch) | |
tree | 30eb7956576568d4d05e93c9983cd8c812da4aaa /nixos | |
parent | 227847550ce1c3b3459063ad2b6167359b185847 (diff) |
nixos/pam: use services.fprintd.package for fprintd rule
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/security/pam.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix index 560e5eff5c39a..26dc724ae1596 100644 --- a/nixos/modules/security/pam.nix +++ b/nixos/modules/security/pam.nix @@ -683,7 +683,7 @@ let (let dp9ik = config.security.pam.dp9ik; in { name = "p9"; enable = dp9ik.enable; control = dp9ik.control; modulePath = "${pkgs.pam_dp9ik}/lib/security/pam_p9.so"; args = [ dp9ik.authserver ]; }) - { name = "fprintd"; enable = cfg.fprintAuth; control = "sufficient"; modulePath = "${pkgs.fprintd}/lib/security/pam_fprintd.so"; } + { name = "fprintd"; enable = cfg.fprintAuth; control = "sufficient"; modulePath = "${config.services.fprintd.package}/lib/security/pam_fprintd.so"; } ] ++ # Modules in this block require having the password set in PAM_AUTHTOK. # pam_unix is marked as 'sufficient' on NixOS which means nothing will run |