diff options
author | pennae <github@quasiparticle.net> | 2022-08-30 14:08:50 +0200 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2022-08-31 17:27:36 +0200 |
commit | f2ea09ecbe1fa1da32eaa6e036d64ac324a2986f (patch) | |
tree | 8635d6ef91a1d530e32d8eb0e360c42b1c755b6d /nixos/modules/services/development | |
parent | 722b99bc0eb57711c0498a86a3f55e6c69cdb05f (diff) |
nixos/*: convert options with listings
minor rendering changes.
Diffstat (limited to 'nixos/modules/services/development')
-rw-r--r-- | nixos/modules/services/development/zammad.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/services/development/zammad.nix b/nixos/modules/services/development/zammad.nix index 55374a0ec90e..23f2e501903a 100644 --- a/nixos/modules/services/development/zammad.nix +++ b/nixos/modules/services/development/zammad.nix @@ -149,20 +149,20 @@ in type = types.nullOr types.path; default = null; example = "/run/keys/secret_key_base"; - description = '' + description = lib.mdDoc '' The path to a file containing the - <literal>secret_key_base</literal> secret. + `secret_key_base` secret. - Zammad uses <literal>secret_key_base</literal> to encrypt + Zammad uses `secret_key_base` to encrypt the cookie store, which contains session data, and to digest user auth tokens. Needs to be a 64 byte long string of hexadecimal characters. You can generate one by running - <programlisting> + ``` openssl rand -hex 64 >/path/to/secret_key_base_file - </programlisting> + ``` This should be a string, not a nix path, since nix paths are copied into the world-readable nix store. |