wireguard: Removed unused if. Renamed personal devices
This commit is contained in:
parent
dc8aa8406f
commit
99cf228d80
@ -2,8 +2,8 @@ with import ./network.nix; {
|
|||||||
networking = {
|
networking = {
|
||||||
extraHosts = ''
|
extraHosts = ''
|
||||||
${architect-wg} architect.devs.giugl.io
|
${architect-wg} architect.devs.giugl.io
|
||||||
${giuliopc-wg} giuliopc.devs.giugl.io
|
${giuliopc-wg} kmerr.devs.giugl.io
|
||||||
${giuliophone-wg} giuliophone.devs.giugl.io
|
${giuliophone-wg} chuck.devs.giugl.io
|
||||||
${manduria-wg} manduria.devs.giugl.io
|
${manduria-wg} manduria.devs.giugl.io
|
||||||
${antonio-wg} antonio.devs.giugl.io
|
${antonio-wg} antonio.devs.giugl.io
|
||||||
${gbeast-wg} gbeast.devs.giugl.io
|
${gbeast-wg} gbeast.devs.giugl.io
|
||||||
@ -36,17 +36,6 @@ with import ./network.nix; {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
wireguard = {
|
wireguard = {
|
||||||
# interfaces.${proxy-if} = {
|
|
||||||
# ips = [ "10.4.0.2/32" ];
|
|
||||||
# privateKeyFile = "/secrets/wireguard/proxy.key";
|
|
||||||
# peers = [{
|
|
||||||
# publicKey = "WmJBpXpYebcmJEF8nVTKMqQK01KyBe42vzc38K66rVs=";
|
|
||||||
# allowedIPs = [ "10.4.0.1/32" ];
|
|
||||||
# endpoint = "giugl.io:1195";
|
|
||||||
# persistentKeepalive = 21;
|
|
||||||
# }];
|
|
||||||
# };
|
|
||||||
|
|
||||||
interfaces.${vpn-if} = {
|
interfaces.${vpn-if} = {
|
||||||
listenPort = 1194;
|
listenPort = 1194;
|
||||||
ips = [ "10.3.0.1/24" ];
|
ips = [ "10.3.0.1/24" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user