Sif: security pam
This commit is contained in:
parent
79af03d3b4
commit
d665d679bb
1 changed files with 12 additions and 27 deletions
|
|
@ -322,11 +322,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
# FPRINTD
|
||||
security = {
|
||||
rtkit.enable = true;
|
||||
};
|
||||
|
||||
# Clamav
|
||||
# services.clamav = {
|
||||
# daemon.enable = true;
|
||||
|
|
@ -347,29 +342,19 @@
|
|||
podman.enable = true;
|
||||
# virtualbox.host.enable = true;
|
||||
};
|
||||
security = {
|
||||
# FPRINTD
|
||||
rtkit.enable = true;
|
||||
|
||||
security.sudo.extraConfig = ''
|
||||
Defaults pwfeedback
|
||||
'';
|
||||
security.pam.services = {
|
||||
xscreensaver.fprintAuth = true;
|
||||
gdm = { enableGnomeKeyring = true; fprintAuth = true; };
|
||||
# sudo = {
|
||||
# fprintAuth = true;
|
||||
# rootOK = true;
|
||||
# forwardXAuth = true;
|
||||
# logFailures = true;
|
||||
# text = ''
|
||||
# auth [success=ok default=bad] pam_unix.so nullok_secure
|
||||
# auth [success=2 default=bad] pam_fprintd.so
|
||||
# '';
|
||||
# # enableGnomeKeyring = true;
|
||||
# # text = ''
|
||||
# # auth include system-auth-fprintd
|
||||
# # account include system-auth
|
||||
# # session include system-auth
|
||||
# # '';
|
||||
# };
|
||||
sudo.extraConfig = ''
|
||||
Defaults pwfeedback
|
||||
'';
|
||||
|
||||
pam.services = {
|
||||
xscreensaver.fprintAuth = true;
|
||||
gdm = { enableGnomeKeyring = true; fprintAuth = true; };
|
||||
git = { gnupg.enable = true; enableGnomeKeyring = true; };
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue