nixos-module/container/bird: enable radvd for c3d2-gw*

This commit is contained in:
Astro 2021-05-28 16:49:36 +02:00
parent 762a9df69c
commit 280292b631
1 changed files with 1 additions and 1 deletions

View File

@ -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