aboutsummaryrefslogtreecommitdiff
path: root/modules/home-environment.nix
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2017-01-15 20:03:55 +0100
committerRobert Helgesson <robert@rycee.net>2017-01-15 23:42:48 +0100
commit071e631648924cd5929c33a02e626fb23aca3ae4 (patch)
treefc2e74b558c81384831ade9c7d07951f3bf53f7d /modules/home-environment.nix
parent6ec3026e510d7e9440e8d0cbe206ef68a8e4251a (diff)
Improve a few description fields
Diffstat (limited to 'modules/home-environment.nix')
-rw-r--r--modules/home-environment.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/home-environment.nix b/modules/home-environment.nix
index 2c335ba9ed8..41196186df6 100644
--- a/modules/home-environment.nix
+++ b/modules/home-environment.nix
@@ -100,7 +100,9 @@ in
options = {
target = mkOption {
type = types.str;
- description = "Path to target file relative to $HOME.";
+ description = ''
+ Path to target file relative to <envar>HOME</envar>.
+ '';
};
text = mkOption {
@@ -147,6 +149,7 @@ in
home.sessionVariables = mkOption {
default = {};
type = types.attrs;
+ example = { EDITOR = "emacs"; GS_OPTIONS = "-sPAPERSIZE=a4"; };
description = "Environment variables to always set at login.";
};