From 4323b35198b2327c3f714cc6915bd5d694d7576c Mon Sep 17 00:00:00 2001
From: Robert Helgesson <robert@rycee.net>
Date: Sun, 31 Mar 2019 13:29:30 +0200
Subject: [PATCH] pam: use attrsOf instead of attrs

---
 modules/misc/pam.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/misc/pam.nix b/modules/misc/pam.nix
index 6ace2bfda..9cebc0a8b 100644
--- a/modules/misc/pam.nix
+++ b/modules/misc/pam.nix
@@ -14,7 +14,7 @@ in
   options = {
     pam.sessionVariables = mkOption {
       default = {};
-      type = types.attrs;
+      type = with types; attrsOf (either int str);
       example = { EDITOR = "vim"; };
       description = ''
         Environment variables that will be set for the PAM session.