diff options
| -rw-r--r-- | modules/vpn.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/vpn.nix b/modules/vpn.nix index f90656d..61bb947 100644 --- a/modules/vpn.nix +++ b/modules/vpn.nix @@ -31,9 +31,10 @@ let }; getPeers = host: - if hostConfig.router + if + hostConfig.router then - builtins.map mkPeer (builtins.attrValues (builtins.removeAttrs hosts [host])); + builtins.map mkPeer (builtins.attrValues (builtins.removeAttrs hosts [host])) else builtins.map mkPeer hosts.dragon; |
