From 00474d0b31c64769c34021d3358051f57ba55465 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Fri, 22 Nov 2024 10:26:25 +0100 Subject: [PATCH] --wip-- [skip ci] --- instances/sif/configuration.nix | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) 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;