From fd50f5465f979516d32c1d89a5984412a99b9506 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sun, 31 Mar 2019 13:22:27 +0200 Subject: [PATCH] zsh: use attrsOf instead of attrs --- modules/programs/zsh.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs/zsh.nix b/modules/programs/zsh.nix index 55ed4757..ad59ad74 100644 --- a/modules/programs/zsh.nix +++ b/modules/programs/zsh.nix @@ -167,7 +167,7 @@ in 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; + type = types.attrsOf types.str; }; enableCompletion = mkOption { @@ -202,7 +202,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 zsh session."; };