This commit is contained in:
Joseph Hanson 2024-07-29 16:09:03 -05:00
parent f43e5e24ec
commit c5751af3e6
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ in
# Disable fingerprint reader at login since you can't put in a password when fprintd is running. # Disable fingerprint reader at login since you can't put in a password when fprintd is running.
security.pam.services.login.fprintAuth = false; security.pam.services.login.fprintAuth = false;
# This is part of a fix for the fingerprint reader on the Framework 13/16 laptop so you can login without the fingerprint reader when the lid is closed. # This is part of a fix for the fingerprint reader on the Framework 13/16 laptop so you can login without the fingerprint reader when the lid is closed.
security.pam.services.gdm-fingerprint = lib.mkIf (config.services.fprintd.enable) { security.pam.services.gdm-fingerprint = lib.mkIf config.services.fprintd.enable {
text = '' text = ''
auth required pam_shells.so auth required pam_shells.so
auth requisite pam_nologin.so auth requisite pam_nologin.so

View file

@ -1,4 +1,4 @@
{ lib, pkgs, ... }: { lib, ... }:
{ {
mySystem = { mySystem = {
security.wheelNeedsSudoPassword = false; security.wheelNeedsSudoPassword = false;