improve
This commit is contained in:
@@ -7,7 +7,7 @@ let
|
|||||||
priority = toString (containerCfg.extra.priority or 2147482647);
|
priority = toString (containerCfg.extra.priority or 2147482647);
|
||||||
logoSvgFileName = builtins.baseNameOf (toString mediaCfg.logo.svg);
|
logoSvgFileName = builtins.baseNameOf (toString mediaCfg.logo.svg);
|
||||||
logoSvgMount = "/assets/${logoSvgFileName}";
|
logoSvgMount = "/assets/${logoSvgFileName}";
|
||||||
borderRadius = toString (containerCfg.extra.borderRadius or 8);
|
borderRadius = toString (containerCfg.extra.borderRadius or 16);
|
||||||
hostMappings = lib.mapAttrs' (mapping: profile:
|
hostMappings = lib.mapAttrs' (mapping: profile:
|
||||||
lib.nameValuePair
|
lib.nameValuePair
|
||||||
(if lib.hasInfix "." mapping then mapping else "${mapping}.${serverCfg.domain}")
|
(if lib.hasInfix "." mapping then mapping else "${mapping}.${serverCfg.domain}")
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 8.9 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.4 KiB |
Reference in New Issue
Block a user