mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat(apps): add wireguard peer selection for use with qr code generation later
This commit is contained in:
parent
62e7d4ec91
commit
b250a6b1b3
3 changed files with 20 additions and 5 deletions
|
@ -174,7 +174,7 @@ in {
|
|||
in {
|
||||
assertions =
|
||||
concatMap (netCfg: let
|
||||
inherit netCfg wgName;
|
||||
inherit (netCfg) wgName;
|
||||
externalPeers = concatMap (n: attrNames nodes.${n}.config.extra.wireguard.networks.${wgName}.externalPeers) netCfg.nodesWithThisNetwork;
|
||||
duplicatePeers = duplicates externalPeers;
|
||||
usedAddresses =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue