pam: add module
Also make it possible to set session variables using PAM rather than Bash.
This commit is contained in:
parent
f35b9a9970
commit
5fbbbd1ea4
5 changed files with 47 additions and 4 deletions
|
|
@ -127,7 +127,8 @@ in
|
|||
home.file.".profile".text = ''
|
||||
# -*- mode: sh -*-
|
||||
|
||||
${envVarsStr}
|
||||
${optionalString (config.home.sessionVariableSetter == "bash")
|
||||
envVarsStr}
|
||||
|
||||
${cfg.profileExtra}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue