mirror of
https://github.com/RGBCube/agenix
synced 2025-07-29 09:47:44 +00:00
doc: fix defaultText by adding literalExpression
I also remove an unnecessary defaultText and fix a typo.
This commit is contained in:
parent
db5637d10f
commit
0d94960783
2 changed files with 25 additions and 5 deletions
|
@ -149,9 +149,10 @@ with lib; let
|
|||
else "$XDG_RUNTIME_DIR";
|
||||
in "${baseDir}/${dir}";
|
||||
|
||||
userDirectoryDescription = dir: ''
|
||||
"$XDG_RUNTIME_DIR"/${dir} on linux or "$(getconf DARWIN_USER_TEMP_DIR)"/${dir} on darwin.
|
||||
'';
|
||||
userDirectoryDescription = dir:
|
||||
literalExpression ''
|
||||
"$XDG_RUNTIME_DIR"/${dir} on linux or "$(getconf DARWIN_USER_TEMP_DIR)"/${dir} on darwin.
|
||||
'';
|
||||
in {
|
||||
options.age = {
|
||||
package = mkPackageOption pkgs "rage" {};
|
||||
|
@ -170,7 +171,7 @@ in {
|
|||
"${config.home.homeDirectory}/.ssh/id_ed25519"
|
||||
"${config.home.homeDirectory}/.ssh/id_rsa"
|
||||
];
|
||||
defaultText = litteralExpression ''
|
||||
defaultText = literalExpression ''
|
||||
[
|
||||
"''${config.home.homeDirectory}/.ssh/id_ed25519"
|
||||
"''${config.home.homeDirectory}/.ssh/id_rsa"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue