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:
parent
6cffccd75c
commit
d522a46f1d
6 changed files with 239 additions and 195 deletions
|
@ -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"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue