diff --git a/hosts/hydrogen/services/wireguard/default.nix b/hosts/hydrogen/services/wireguard/default.nix index ca88594..37d9bf9 100644 --- a/hosts/hydrogen/services/wireguard/default.nix +++ b/hosts/hydrogen/services/wireguard/default.nix @@ -10,17 +10,17 @@ wireguard.interfaces = { wg0 = { - ips = [ "10.0.0.1/24" ]; + ips = [ "10.0.0.1/24" "fd02:002:002::1/64" ]; listenPort = 5553; privateKeyFile = "/root/wg-private"; peers = [ { # pixel publicKey = "HS2q+PpPPwxqT1jCD7D4puqr4ZyaXV5TostavlYWBx0="; - allowedIPs = [ "10.0.0.2/32" ]; + allowedIPs = [ "10.0.0.2/32" "fd02:002:002::2/64" ]; } { # neodymium publicKey = "IFeRvelEilNRLkhWgFKL9HrJ9XYsm+r4yvv23CigETk="; - allowedIPs = [ "10.0.0.3/32" ]; + allowedIPs = [ "10.0.0.3/32" "fd02:002:002::3/64" ]; } ]; }; diff --git a/hosts/neodymium/configuration.nix b/hosts/neodymium/configuration.nix index 5529ae0..7cbc335 100644 --- a/hosts/neodymium/configuration.nix +++ b/hosts/neodymium/configuration.nix @@ -16,7 +16,7 @@ networking.wg-quick.interfaces = { wg0 = { privateKeyFile = "/root/wireguard-keys/private"; - address = [ "10.0.0.3/24" ]; + address = [ "10.0.0.3/24" "fd02:002:002::3/64" ]; dns = [ "10.0.0.1" ]; peers = [{ publicKey = "y36/EpLUerwM6NSGsVDCkb37Wj/Z3CI0mPFGatVa0Ws=";