File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
nixos/modules/services/web-apps Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 33let
44 cfg = config . services . calibre-web ;
55
6- inherit ( lib ) concatStringsSep mkEnableOption mkIf mkOption optional optionalString types ;
6+ inherit ( lib ) concatStringsSep mkEnableOption mkIf mkOption optional optionals optionalString types ;
77in
88{
99 options = {
120120 "config_reverse_proxy_login_header_name = '${ cfg . options . reverseProxyAuth . header } '"
121121 ]
122122 ++ optional ( cfg . options . calibreLibrary != null ) "config_calibre_dir = '${ cfg . options . calibreLibrary } '"
123- ++ optional cfg . options . enableBookConversion "config_converterpath = '${ pkgs . calibre } /bin/ebook-convert'"
124- ++ optional cfg . options . enableBookConversion "config_binariesdir = '${ pkgs . calibre } /bin/'"
123+ ++ optionals cfg . options . enableBookConversion [
124+ "config_converterpath = '${ pkgs . calibre } /bin/ebook-convert'"
125+ "config_binariesdir = '${ pkgs . calibre } /bin/'"
126+ ]
125127 ++ optional cfg . options . enableKepubify "config_kepubifypath = '${ pkgs . kepubify } /bin/kepubify'"
126128 ) ;
127129 in
You can’t perform that action at this time.
0 commit comments