home-environment: use attrsOf instead of attrs

This commit is contained in:
Robert Helgesson 2019-03-31 13:00:09 +02:00
parent b690a8be2f
commit 13d2c470be
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -146,7 +146,7 @@ in
home.sessionVariables = mkOption {
default = {};
type = types.attrs;
type = with types; attrsOf (either int str);
example = { EDITOR = "emacs"; GS_OPTIONS = "-sPAPERSIZE=a4"; };
description = ''
Environment variables to always set at login.