nixos/matrix-authentication-service: fix formatting of description
Be more explicit in the first sentence. And use code-blocks to make sure the code-example is rendered correctly.
This commit is contained in:
@@ -379,13 +379,16 @@ in
|
||||
type = lib.types.attrsOf lib.types.str;
|
||||
default = { };
|
||||
description = ''
|
||||
Name -> source file path. Exposed to the unit via LoadCredential and
|
||||
readable inside the service at ''${CREDENTIALS_DIRECTORY}/<name>.
|
||||
Mapping of credential name to source file-path. Exposed to the unit via LoadCredential and
|
||||
readable inside the service at `''${CREDENTIALS_DIRECTORY}/<name>`.
|
||||
|
||||
For example :
|
||||
For example:
|
||||
|
||||
```
|
||||
services.matrix-authentication-service.credentials."synapse-secret" = "/run/agenix/synapse-shared";
|
||||
services.matrix-authentication-service.settings.matrix.secret_file =
|
||||
"\''${CREDENTIALS_DIRECTORY}/synapse-secret";
|
||||
```
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user