nixos/matrix-synapse: Add a defaultText

This commit is contained in:
Janne Heß 2022-05-05 00:56:54 +02:00
parent e2703d2697
commit 4c5e7bde3e
No known key found for this signature in database
GPG Key ID: 69165158F05265DF

View File

@ -296,6 +296,7 @@ in {
default = if lib.versionAtLeast config.system.stateVersion "22.05"
then "${cfg.dataDir}/media_store"
else "${cfg.dataDir}/media";
defaultText = "${cfg.dataDir}/media_store for when system.stateVersion is at least 22.05, ${cfg.dataDir}/media when lower than 22.05";
description = ''
Directory where uploaded images and attachments are stored.
'';