pam: use attrsOf instead of attrs

This commit is contained in:
Robert Helgesson 2019-03-31 13:29:30 +02:00
parent fd50f5465f
commit 4323b35198
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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.