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:
parent
b690a8be2f
commit
13d2c470be
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue