gnome: remove unnecessary workaround for fprintd authentication
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / adjustor-build (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / hhd-ui-build (push) Waiting to run
nix-build / rofi-bluetooth-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-10-28 13:46:04 -04:00
parent a7d49f925b
commit 94c5997524

View file

@ -23,7 +23,7 @@
# ];
security.pam.services = {
login.fprintAuth = false;
# login.fprintAuth = false;
gdm = {
enableGnomeKeyring = true;
@ -31,25 +31,25 @@
kwallet.enable = true;
};
gdm-fingerprint = lib.mkIf (config.services.fprintd.enable) {
text = ''
auth required pam_shells.so
auth requisite pam_nologin.so
auth requisite pam_faillock.so preauth
auth required ${pkgs.fprintd}/lib/security/pam_fprintd.so
auth optional pam_permit.so
auth required pam_env.so
auth [success=ok default=1] ${pkgs.gnome.gdm}/lib/security/pam_gdm.so
auth optional ${pkgs.gnome.gnome-keyring}/lib/security/pam_gnome_keyring.so
# gdm-fingerprint = lib.mkIf (config.services.fprintd.enable) {
# text = ''
# auth required pam_shells.so
# auth requisite pam_nologin.so
# auth requisite pam_faillock.so preauth
# auth required ${pkgs.fprintd}/lib/security/pam_fprintd.so
# auth optional pam_permit.so
# auth required pam_env.so
# auth [success=ok default=1] ${pkgs.gnome.gdm}/lib/security/pam_gdm.so
# auth optional ${pkgs.gnome.gnome-keyring}/lib/security/pam_gnome_keyring.so
account include login
# account include login
password required pam_deny.so
# password required pam_deny.so
session include login
session optional ${pkgs.gnome.gnome-keyring}/lib/security/pam_gnome_keyring.so auto_start
'';
};
# session include login
# session optional ${pkgs.gnome.gnome-keyring}/lib/security/pam_gnome_keyring.so auto_start
# '';
# };
};
# Enable GNOME and GDM.