From 4c244015619d54c4da9e90511656190838f4f043 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sun, 28 Aug 2022 17:31:49 -0400 Subject: update --- modules/vpn.nix | 5 +++-- 1 file 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; -- cgit v1.2.3