diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-08-28 17:31:49 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-08-28 17:31:49 -0400 |
commit | 4c244015619d54c4da9e90511656190838f4f043 (patch) | |
tree | 7445c7b73d6840733ae18043afb9681a88cb4870 /modules | |
parent | 768cf3e255cfb8859cba90f8b639e7cc3a0bd8ed (diff) |
update
Diffstat (limited to 'modules')
-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; |