1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

refactor(wireguard): extract cross-host aggregation functions into extraLib

This commit is contained in:
oddlama 2023-04-14 14:32:17 +02:00
parent 6cffccd75c
commit d522a46f1d
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
6 changed files with 239 additions and 195 deletions

View file

@ -22,11 +22,13 @@
};
};
extra.wireguard.networks.vms = {
extra.wireguard.vms = {
server = {
enable = true;
port = 51822;
openFirewall = true;
};
address = ["10.0.0.1/24"];
listen = true;
listenPort = 51822;
openFirewall = true;
externalPeers = {
test1 = ["10.0.0.91/32"];
test2 = ["10.0.0.92/32"];