|
|
@ -296,6 +296,7 @@ in { |
|
|
|
default = if lib.versionAtLeast config.system.stateVersion "22.05" |
|
|
|
default = if lib.versionAtLeast config.system.stateVersion "22.05" |
|
|
|
then "${cfg.dataDir}/media_store" |
|
|
|
then "${cfg.dataDir}/media_store" |
|
|
|
else "${cfg.dataDir}/media"; |
|
|
|
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 = '' |
|
|
|
description = '' |
|
|
|
Directory where uploaded images and attachments are stored. |
|
|
|
Directory where uploaded images and attachments are stored. |
|
|
|
''; |
|
|
|
''; |
|
|
|