diff --git a/instances/sif/configuration.nix b/instances/sif/configuration.nix index 09910ae..ac4b943 100644 --- a/instances/sif/configuration.nix +++ b/instances/sif/configuration.nix @@ -325,9 +325,6 @@ # FPRINTD security = { rtkit.enable = true; - pam.services = { - xscreensaver.fprintAuth = true; - }; }; # Clamav @@ -354,8 +351,26 @@ security.sudo.extraConfig = '' Defaults pwfeedback ''; - security.pam.services.sddm.enableGnomeKeyring = true; - security.pam.services.autoUnlockKwallet.enableKwallet = true; + security.pam.services = { + xscreensaver.fprintAuth = true; + gdm.enableGnomeKeyring = true; + swaylock = { + fprintAuth = true; + text = '' + auth sufficient pam_unix.so try_first_pass likeauth nullok + auth sufficient pam_fprintd.so + auth include login + ''; + }; + sudo = { + fprintAuth = true; + text = '' + auth include system-auth-fprintd + account include system-auth + session include system-auth + ''; + }; + }; nixpkgs.config = { allowUnfree = true;