diff options
Diffstat (limited to 'systems/afrodite')
| -rw-r--r-- | systems/afrodite/networking.nix | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/systems/afrodite/networking.nix b/systems/afrodite/networking.nix index 5065ce4..02a128e 100644 --- a/systems/afrodite/networking.nix +++ b/systems/afrodite/networking.nix @@ -15,10 +15,33 @@ networkmanager.enable = true; wg-quick.interfaces."home" = { - privateKeyFile = "/home/leo/.wireguard/private.key"; + privateKeyFile = "/home/leo/.wireguard/home"; address = [ "10.69.0.1/24" ]; - peers = []; + listenPort = 51820; + + peers = [ + #{ + # publicKey = ""; + # allowedIPs = [ "10.69.0.2/32" ]; + # persistentKeepalive = 25; + #} + { + publicKey = "99XBoIZ55yradB45bDZ94fc1IQGkNp9argWaT2otRBU="; + allowedIPs = [ "10.69.0.3/32" ]; + persistentKeepalive = 25; + } + #{ + # publicKey = ""; + # allowedIPs = [ "10.69.0.4/32" ]; + # persistentKeepalive = 25; + #} + { + publicKey = "bMgACe4Pp2VQ0lpMb0Q2RVw/n5KIIg20xT90eesxcEw="; + allowedIPs = [ "10.69.0.5/32" ]; + persistentKeepalive = 25; + } + ]; }; }; } |
