diff --git a/nix/nixos-module/container/bird.nix b/nix/nixos-module/container/bird.nix index 952f31c..0ee9e83 100644 --- a/nix/nixos-module/container/bird.nix +++ b/nix/nixos-module/container/bird.nix @@ -11,7 +11,7 @@ let # Configuring a gateway? If so, this is the associated net. gatewayNet = let - m = builtins.match "(.+)-gw" hostName; + m = builtins.match "(.+)-gw.*" hostName; in if m == [ "cls" ] then "cluster" else if m == null