diff options
author | Robert Helgesson <robert@rycee.net> | 2019-08-28 00:12:28 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-08-28 00:14:22 +0200 |
commit | 55b71223d404040ed2416a9e80d7f522fbd7048d (patch) | |
tree | 79664083f74729e6998e3167c088cedfd1ee2ce2 /modules/programs/tmux.nix | |
parent | db86bd6c013d3434159885d0987e5b48d8b7b141 (diff) |
Fix option `defaultText` when referencing packages
By using `literalExample` the documentation will show the option
default without surrounding quotes.
Diffstat (limited to 'modules/programs/tmux.nix')
-rw-r--r-- | modules/programs/tmux.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/programs/tmux.nix b/modules/programs/tmux.nix index a4892c9b632..766bc6238ba 100644 --- a/modules/programs/tmux.nix +++ b/modules/programs/tmux.nix @@ -169,7 +169,7 @@ in package = mkOption { type = types.package; default = pkgs.tmux; - defaultText = "pkgs.tmux"; + defaultText = literalExample "pkgs.tmux"; example = literalExample "pkgs.tmux"; description = "The tmux package to install"; }; |