diff --git a/system/services/greetd.nix b/system/services/greetd.nix index 9268650..fc9b926 100644 --- a/system/services/greetd.nix +++ b/system/services/greetd.nix @@ -18,4 +18,17 @@ 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 + ''; }