This commit is contained in:
Henri Dohmen 2025-05-31 14:22:37 +02:00
parent 1f65e12585
commit 7584ff9a39
5 changed files with 49 additions and 48 deletions

View file

@ -32,4 +32,7 @@ rec {
lib.attrValues (lib.filterAttrs (n: _: n != host) wireguard-network)
);
ips =
with builtins;
mapAttrs (name: value: head (lib.splitString "/" (head value.ips))) wireguard-network;
}