From 8a5f17806da1c23bf78732b9ca688c3148b19571 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 25 Mar 2021 04:07:39 +0100 Subject: [PATCH] nixos-module/network.nix: fix gw4 --- nix/nixos-module/network.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/nixos-module/network.nix b/nix/nixos-module/network.nix index a431205..3c2f6bd 100644 --- a/nix/nixos-module/network.nix +++ b/nix/nixos-module/network.nix @@ -51,7 +51,7 @@ in ) (builtins.attrValues netConfig.hosts6); gateway = with lib; - optional (gw4 != null) netConfig.${gw4} ++ + optional (gw4 != null) config.site.net.${ifName}.hosts4.${gw4} ++ optional (gw6 != null) (findGw6 ifName gw6); }) config.site.hosts.${hostName}.interfaces;