pam: add module

Also make it possible to set session variables using PAM rather than
Bash.
This commit is contained in:
Robert Helgesson 2017-01-16 23:54:45 +01:00
parent f35b9a9970
commit 5fbbbd1ea4
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86
5 changed files with 47 additions and 4 deletions

View file

@ -127,7 +127,8 @@ in
home.file.".profile".text = ''
# -*- mode: sh -*-
${envVarsStr}
${optionalString (config.home.sessionVariableSetter == "bash")
envVarsStr}
${cfg.profileExtra}
'';