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

---
 modules/programs/bash.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/programs/bash.nix b/modules/programs/bash.nix
index 14a158a24..92ce18d25 100644
--- a/modules/programs/bash.nix
+++ b/modules/programs/bash.nix
@@ -72,7 +72,7 @@ in
 
       sessionVariables = mkOption {
         default = {};
-        type = types.attrs;
+        type = with types; attrsOf (either int str);
         example = { MAILCHECK = 30; };
         description = ''
           Environment variables that will be set for the Bash session.
@@ -81,12 +81,12 @@ in
 
       shellAliases = mkOption {
         default = {};
+        type = types.attrsOf types.str;
         example = { ll = "ls -l"; ".." = "cd .."; };
         description = ''
           An attribute set that maps aliases (the top level attribute names in
           this option) to command strings or directly to build outputs.
         '';
-        type = types.attrs;
       };
 
       enableAutojump = mkOption {