From 996a0d28cec0316bfdf43162a65b315df1fdc825 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Mon, 8 Jan 2024 20:10:04 +0100 Subject: [PATCH] fix(wordpress/module): Use imap1 to have correct ip --- machines/web01/wordpress/module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/machines/web01/wordpress/module.nix b/machines/web01/wordpress/module.nix index 7c6fc02..5e5e63a 100644 --- a/machines/web01/wordpress/module.nix +++ b/machines/web01/wordpress/module.nix @@ -91,9 +91,9 @@ in { }; config = mkIf cfg.enable { - containers = builtins.listToAttrs (lib.imap0 mkContainer siteList); + containers = builtins.listToAttrs (lib.imap1 mkContainer siteList); services.nginx.virtualHosts = - builtins.listToAttrs (lib.imap0 mkVhost siteList); + builtins.listToAttrs (lib.imap1 mkVhost siteList); }; }