gpg: fix homedir option documentation

Previously the documentation had a dependency on the configuration.
This commit is contained in:
Robert Helgesson 2021-04-15 08:53:13 +02:00
parent 348b5a5a69
commit ebbbd4f2b5
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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.";
};
};