system/services/greetd: disable fprintd

This commit is contained in:
Anthony Rodriguez 2024-10-14 17:23:01 +02:00
parent 262de31d36
commit 0e08d243d1
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -18,4 +18,17 @@
default_session = initial_session; default_session = initial_session;
}; };
}; };
security.pam.services.greetd.text = lib.mkIf config.services.fprintd.enable ''
account required pam_unix.so
# disable fprintd on greetd
auth sufficient pam_unix.so try_first_pass likeauth
auth required pam_deny.so
password sufficient pam_unix.so nullok yescrypt
session required pam_env.so conffile=/etc/pam/environment readenv=0
session required pam_unix.so
'';
} }