diff options
author | Nick Cao <nickcao@nichi.co> | 2024-03-23 11:30:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 11:30:41 -0400 |
commit | 5c586526bf5fae0748871695e5acdd414b52ea84 (patch) | |
tree | 4fd9f6081ee598a91b12c7b930483be26b164518 /nixos | |
parent | e29f2dbc680f884fc11ed3bcc8d0a4036f9f7d42 (diff) | |
parent | cee0d0bac7ab90424b5e3d9b03eee87181546e4a (diff) |
Merge pull request #298211 from NickCao/pam-fprintd
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 |