aboutsummaryrefslogtreecommitdiff
path: root/modules/services/mpdris2.nix
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2019-08-28 00:12:28 +0200
committerRobert Helgesson <robert@rycee.net>2019-08-28 00:14:22 +0200
commit55b71223d404040ed2416a9e80d7f522fbd7048d (patch)
tree79664083f74729e6998e3167c088cedfd1ee2ce2 /modules/services/mpdris2.nix
parentdb86bd6c013d3434159885d0987e5b48d8b7b141 (diff)
Fix option `defaultText` when referencing packages
By using `literalExample` the documentation will show the option default without surrounding quotes.
Diffstat (limited to 'modules/services/mpdris2.nix')
-rw-r--r--modules/services/mpdris2.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/mpdris2.nix b/modules/services/mpdris2.nix
index 51ce7e892c8..450f84c5912 100644
--- a/modules/services/mpdris2.nix
+++ b/modules/services/mpdris2.nix
@@ -42,7 +42,7 @@ in
package = mkOption {
type = types.package;
default = pkgs.mpdris2;
- defaultText = "pkgs.mpdris2";
+ defaultText = literalExample "pkgs.mpdris2";
description = "The mpDris2 package to use.";
};