lib > builtins
This commit is contained in:
parent
47ccd698a9
commit
22f93f23ed
6 changed files with 39 additions and 38 deletions
|
@ -32,7 +32,7 @@ let
|
|||
"172.19.${toString (peerConfig.zone + 127)}.0/24"
|
||||
"fc00:f::${toString (peerConfig.zone + 127)}:0/112"
|
||||
];
|
||||
Endpoint = "${builtins.head (builtins.split "/" peerConfig.ip4)}:51820";
|
||||
Endpoint = "${lib.lists.head (lib.strings.splitString "/" peerConfig.ip4)}:51820";
|
||||
PersistentKeepalive = 25;
|
||||
}) peerConfigs;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue