Skip to content

Commit

Permalink
doc: fix nixos option format in descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
jian-lin committed Jun 26, 2023
1 parent 0d94960 commit 6e8a48c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/age.nix
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ with lib; let
default = config._module.args.name;
defaultText = literalExpression "config._module.args.name";
description = ''
Name of the file used in ''${cfg.secretsDir}
Name of the file used in {option}`age.secretsDir`
'';
};
file = mkOption {
Expand Down Expand Up @@ -221,7 +221,7 @@ in {
// {description = "${types.str.description} (with check: non-empty without trailing slash)";};
default = "/run/agenix.d";
description = ''
Where secrets are created before they are symlinked to ''${cfg.secretsDir}
Where secrets are created before they are symlinked to {option}`age.secretsDir`
'';
};
identityPaths = mkOption {
Expand Down

0 comments on commit 6e8a48c

Please sign in to comment.