--wip-- [skip ci]

This commit is contained in:
Filippo Berto 2024-11-22 11:41:39 +01:00
parent 38b554545f
commit f53af7e0f6

View file

@ -353,32 +353,23 @@
''; '';
security.pam.services = { security.pam.services = {
xscreensaver.fprintAuth = true; xscreensaver.fprintAuth = true;
gdm = { gdm = { enableGnomeKeyring = true; fprintAuth = true; };
enableGnomeKeyring = true; # sudo = {
fprintAuth = true; # fprintAuth = true;
}; # rootOK = true;
sudo = { # forwardXAuth = true;
fprintAuth = true; # logFailures = true;
rootOK = true; # text = ''
forwardXAuth = true; # auth [success=ok default=bad] pam_unix.so nullok_secure
logFailures = true; # auth [success=2 default=bad] pam_fprintd.so
text = '' # '';
auth sufficient pam_rootok.so # # enableGnomeKeyring = true;
# Uncomment the following line to implicitly trust users in the "wheel" group. # # text = ''
#auth sufficient pam_wheel.so trust use_uid # # auth include system-auth-fprintd
# Uncomment the following line to require a user to be in the "wheel" group. # # account include system-auth
auth required pam_wheel.so use_uid # # session include system-auth
auth required pam_unix.so # # '';
account required pam_unix.so # };
session required pam_unix.so
'';
# enableGnomeKeyring = true;
# text = ''
# auth include system-auth-fprintd
# account include system-auth
# session include system-auth
# '';
};
}; };
nixpkgs.config = { nixpkgs.config = {