From 9ad4bd06499ee67a1776f75bb84d0a504db3fe72 Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 26 Nov 2022 02:53:32 +0100 Subject: [PATCH] modules/cluster/deployment-options: fix networks --- modules/cluster/deployment-options.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/cluster/deployment-options.nix b/modules/cluster/deployment-options.nix index 0b0e0907..a205f848 100644 --- a/modules/cluster/deployment-options.nix +++ b/modules/cluster/deployment-options.nix @@ -14,9 +14,9 @@ type = with types; listOf str; default = builtins.attrNames ( lib.filterAttrs (net: { hosts4, hosts6, ... }: - hosts4 ? ${hostName} || + hosts4 ? ${config.networking.hostName} || lib.filterAttrs (ctx: hosts6: - hosts6 ? ${hostName} + hosts6 ? ${config.networking.hostName} ) hosts6 != {} ) zentralwerk.lib.config.site.net );