diff options
-rw-r--r-- | hel.nix | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -623,6 +623,26 @@ | |||
623 | ''; | 623 | ''; |
624 | }; | 624 | }; |
625 | 625 | ||
626 | security.pam.services = { | ||
627 | gdm-fingerprint.text = '' | ||
628 | auth requisite pam_nologin.so | ||
629 | auth required pam_env.so envfile=${config.system.build.pamEnvironment} | ||
630 | |||
631 | auth required pam_succeed_if.so uid >= 1000 quiet | ||
632 | auth required ${pkgs.fprintd}/lib/security/pam_fprintd.so | ||
633 | auth optional ${pkgs.gnome3.gnome-keyring}/lib/security/pam_gnome_keyring.so | ||
634 | |||
635 | account sufficient pam_unix.so | ||
636 | password required ${pkgs.fprintd}/lib/security/pam_fprintd.so | ||
637 | |||
638 | session required pam_env.so envfile=${config.system.build.pamEnvironment} | ||
639 | session required pam_unix.so | ||
640 | session required pam_loginuid.so | ||
641 | session optional ${pkgs.systemd}/lib/security/pam_systemd.so | ||
642 | session optional ${pkgs.gnome3.gnome-keyring}/lib/security/pam_gnome_keyring.so auto_start | ||
643 | ''; | ||
644 | }; | ||
645 | |||
626 | system = { | 646 | system = { |
627 | stateVersion = "16.09"; | 647 | stateVersion = "16.09"; |
628 | }; | 648 | }; |