1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 13:39:46 +01:00

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 { home.sessionVariables = mkOption {
default = {}; default = {};
type = types.attrs; type = with types; attrsOf (either int str);
example = { EDITOR = "emacs"; GS_OPTIONS = "-sPAPERSIZE=a4"; }; example = { EDITOR = "emacs"; GS_OPTIONS = "-sPAPERSIZE=a4"; };
description = '' description = ''
Environment variables to always set at login. Environment variables to always set at login.