wireguard: remove devices
This commit is contained in:
parent
39c2fe2c6b
commit
7c00b8bf0b
@ -22,7 +22,6 @@ in
|
||||
net = "10.3.0.0/24";
|
||||
devices = {
|
||||
architect = { address = "10.3.0.1"; hostname = "architect.${domain}"; };
|
||||
manduria = { address = "10.3.0.5"; hostname = "manduria.${domain}"; };
|
||||
antonio = { address = "10.3.0.6"; hostname = "antonio.${domain}"; };
|
||||
gbeast = { address = "10.3.0.7"; hostname = "gbeast.${domain}"; };
|
||||
shield = { address = "10.3.0.12"; hostname = "shield.${domain}"; };
|
||||
@ -31,7 +30,6 @@ in
|
||||
defy = { address = "10.3.0.18"; hostname = "defy.${domain}"; };
|
||||
germano = { address = "10.3.0.19"; hostname = "germano.${domain}"; };
|
||||
flavio = { address = "10.3.0.20"; hostname = "flavio.${domain}"; };
|
||||
tommy = { address = "10.3.0.21"; hostname = "tommy.${domain}"; };
|
||||
alain = { address = "10.3.0.22"; hostname = "alain.${domain}"; };
|
||||
dima = { address = "10.3.0.23"; hostname = "dima.${domain}"; };
|
||||
mikey = { address = "10.3.0.24"; hostname = "mikey.${domain}"; };
|
||||
@ -65,12 +63,6 @@ in
|
||||
privateKeyFile = "/secrets/wireguard/server.key";
|
||||
|
||||
peers = [
|
||||
{
|
||||
# Manduria
|
||||
allowedIPs = [ (getDeviceAddress "manduria") ];
|
||||
publicKey = "wT38oXvDQ8g0hI+pAXQobOWf/Wott2zhwo8TLvXK400=";
|
||||
}
|
||||
|
||||
{
|
||||
# Antonio
|
||||
allowedIPs = [ (getDeviceAddress "antonio") ];
|
||||
@ -119,12 +111,6 @@ in
|
||||
publicKey = "Yg0P+yHi/9SZHyoel8jT9fmmu+irLYmT8yMp/CZoaSg=";
|
||||
}
|
||||
|
||||
{
|
||||
# tommy
|
||||
allowedIPs = [ (getDeviceAddress "tommy") ];
|
||||
publicKey = "tytknU7wql1d0A2provX3RP7CNcEIajfgBJKoSyVLgo=";
|
||||
}
|
||||
|
||||
{
|
||||
# alain
|
||||
allowedIPs = [ (getDeviceAddress "alain") ];
|
||||
|
Loading…
Reference in New Issue
Block a user