summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-08-28 17:43:32 -0400
committerKjetil Orbekk <kj@orbekk.com>2022-08-28 17:43:32 -0400
commit76517769bcaf1f1a94b1842633cfb602e9322202 (patch)
tree6d6485b03b3064cf123ec0e991f311b3d7eff754
parent4c244015619d54c4da9e90511656190838f4f043 (diff)
weird
-rw-r--r--modules/vpn.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/vpn.nix b/modules/vpn.nix
index 61bb947..63442ff 100644
--- a/modules/vpn.nix
+++ b/modules/vpn.nix
@@ -32,11 +32,11 @@ let
getPeers = host:
if
- hostConfig.router
+ host == "dragon"
then
builtins.map mkPeer (builtins.attrValues (builtins.removeAttrs hosts [host]))
else
- builtins.map mkPeer hosts.dragon;
+ builtins.map mkPeer [hosts.dragon];
in
{