pam: use attrsOf instead of attrs
This commit is contained in:
parent
fd50f5465f
commit
4323b35198
|
@ -14,7 +14,7 @@ in
|
||||||
options = {
|
options = {
|
||||||
pam.sessionVariables = mkOption {
|
pam.sessionVariables = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
type = types.attrs;
|
type = with types; attrsOf (either int str);
|
||||||
example = { EDITOR = "vim"; };
|
example = { EDITOR = "vim"; };
|
||||||
description = ''
|
description = ''
|
||||||
Environment variables that will be set for the PAM session.
|
Environment variables that will be set for the PAM session.
|
||||||
|
|
Loading…
Reference in a new issue