From ebbbd4f2b50703409543941e7445138dc1e7392e Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Thu, 15 Apr 2021 08:53:13 +0200 Subject: [PATCH] gpg: fix `homedir` option documentation Previously the documentation had a dependency on the configuration. --- modules/programs/gpg.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/programs/gpg.nix b/modules/programs/gpg.nix index dc3dd107f..c31eb848b 100644 --- a/modules/programs/gpg.nix +++ b/modules/programs/gpg.nix @@ -38,8 +38,9 @@ in homedir = mkOption { type = types.path; - example = literalExample "${config.xdg.dataHome}/gnupg"; + example = literalExample "\"\${config.xdg.dataHome}/gnupg\""; default = "${config.home.homeDirectory}/.gnupg"; + defaultText = literalExample "\"\${config.home.homeDirectory}/.gnupg\""; description = "Directory to store keychains and configuration."; }; };