Skip to content

Commit

Permalink
nixos/manual: fix build
Browse files Browse the repository at this point in the history
Option names must be `opt-<full-option-name>` in docbook XML.
  • Loading branch information
Ma27 committed Jul 8, 2020
1 parent 12e0d72 commit 5bc22ad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nixos/modules/services/mail/roundcube.nix
Expand Up @@ -99,8 +99,10 @@ in
type = types.int;
default = 18;
description = ''
The maximum attachment size in MB. Note: Since roundcube only uses 70% of max upload values configured in php
30% is added to <xref linkend="maxAttachmentSize"/>.
The maximum attachment size in MB.
Note: Since roundcube only uses 70% of max upload values configured in php
30% is added automatically to <xref linkend="opt-services.roundcube.maxAttachmentSize"/>.
'';
apply = configuredMaxAttachmentSize: "${toString (configuredMaxAttachmentSize * 1.3)}M";
};
Expand Down

0 comments on commit 5bc22ad

Please sign in to comment.