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
|
# Clamav
|
||||||
# services.clamav = {
|
# services.clamav = {
|
||||||
# daemon.enable = true;
|
# daemon.enable = true;
|
||||||
|
|
@ -347,29 +342,19 @@
|
||||||
podman.enable = true;
|
podman.enable = true;
|
||||||
# virtualbox.host.enable = true;
|
# virtualbox.host.enable = true;
|
||||||
};
|
};
|
||||||
|
security = {
|
||||||
|
# FPRINTD
|
||||||
|
rtkit.enable = true;
|
||||||
|
|
||||||
security.sudo.extraConfig = ''
|
sudo.extraConfig = ''
|
||||||
Defaults pwfeedback
|
Defaults pwfeedback
|
||||||
'';
|
'';
|
||||||
security.pam.services = {
|
|
||||||
|
pam.services = {
|
||||||
xscreensaver.fprintAuth = true;
|
xscreensaver.fprintAuth = true;
|
||||||
gdm = { enableGnomeKeyring = true; fprintAuth = true; };
|
gdm = { enableGnomeKeyring = true; fprintAuth = true; };
|
||||||
# sudo = {
|
git = { gnupg.enable = true; enableGnomeKeyring = true; };
|
||||||
# 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
|
|
||||||
# # '';
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue