diff options
Diffstat (limited to 'nixos/modules/services/development/zammad.nix')
-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 55374a0ec90e8..23f2e501903aa 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. |