mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-21 22:53:56 -05:00
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
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:
parent
a7d49f925b
commit
94c5997524
|
@ -23,7 +23,7 @@
|
||||||
# ];
|
# ];
|
||||||
|
|
||||||
security.pam.services = {
|
security.pam.services = {
|
||||||
login.fprintAuth = false;
|
# login.fprintAuth = false;
|
||||||
|
|
||||||
gdm = {
|
gdm = {
|
||||||
enableGnomeKeyring = true;
|
enableGnomeKeyring = true;
|
||||||
|
@ -31,25 +31,25 @@
|
||||||
kwallet.enable = true;
|
kwallet.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
gdm-fingerprint = lib.mkIf (config.services.fprintd.enable) {
|
# 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
|
||||||
auth requisite pam_faillock.so preauth
|
# auth requisite pam_faillock.so preauth
|
||||||
auth required ${pkgs.fprintd}/lib/security/pam_fprintd.so
|
# auth required ${pkgs.fprintd}/lib/security/pam_fprintd.so
|
||||||
auth optional pam_permit.so
|
# auth optional pam_permit.so
|
||||||
auth required pam_env.so
|
# auth required pam_env.so
|
||||||
auth [success=ok default=1] ${pkgs.gnome.gdm}/lib/security/pam_gdm.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
|
# 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 include login
|
||||||
session optional ${pkgs.gnome.gnome-keyring}/lib/security/pam_gnome_keyring.so auto_start
|
# session optional ${pkgs.gnome.gnome-keyring}/lib/security/pam_gnome_keyring.so auto_start
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable GNOME and GDM.
|
# Enable GNOME and GDM.
|
||||||
|
|
Loading…
Reference in a new issue