modules: services: nginx: use 'recursiveMerge'

This commit is contained in:
Bruno BELANYI 2021-09-23 22:11:14 +02:00
parent 364ea0404a
commit 8852699c9a

View file

@ -173,7 +173,7 @@ in
domain = config.networking.domain; domain = config.networking.domain;
mkVHost = ({ subdomain, ... } @ args: lib.nameValuePair mkVHost = ({ subdomain, ... } @ args: lib.nameValuePair
"${subdomain}.${domain}" "${subdomain}.${domain}"
(builtins.foldl' lib.recursiveUpdate { } [ (lib.my.recursiveMerge [
# Base configuration # Base configuration
{ {
forceSSL = true; forceSSL = true;