diff options
author | lassulus <lassulus@lassul.us> | 2021-12-01 18:53:18 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-12-01 18:53:18 +0100 |
commit | d33c92fe21e9690c9cc558a274472617ba034197 (patch) | |
tree | 281dd61f66250a8d1950d219ee89b1ac8841317d /lass/3modules/usershadow.nix | |
parent | 9f6c37f21c49fb26d214765cbecef0d9e5abca40 (diff) |
l usershadow: remove legacy pamEnvironment
Diffstat (limited to 'lass/3modules/usershadow.nix')
-rw-r--r-- | lass/3modules/usershadow.nix | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/lass/3modules/usershadow.nix b/lass/3modules/usershadow.nix index c3d4de84d..1f5b6673f 100644 --- a/lass/3modules/usershadow.nix +++ b/lass/3modules/usershadow.nix @@ -28,15 +28,12 @@ session required pam_permit.so ''; - security.pam.services.dovecot2 = { - text = '' - auth required pam_exec.so expose_authtok /run/wrappers/bin/shadow_verify_pam ${cfg.pattern} - auth required pam_permit.so - account required pam_permit.so - session required pam_permit.so - session required pam_env.so envfile=${config.system.build.pamEnvironment} - ''; - }; + security.pam.services.dovecot2.text = '' + auth required pam_exec.so expose_authtok /run/wrappers/bin/shadow_verify_pam ${cfg.pattern} + auth required pam_permit.so + account required pam_permit.so + session required pam_permit.so + ''; security.wrappers.shadow_verify_pam = { source = "${usershadow}/bin/verify_pam"; |