diff --git a/systems/desktop.nix b/systems/desktop.nix index 1f9fd47..f81dad6 100644 --- a/systems/desktop.nix +++ b/systems/desktop.nix @@ -140,13 +140,12 @@ in { networking.wireguard = { wg0 = { - /*ips = [ "192.168.20.4/24" ];*/ + ips = [ "192.168.3.1/24" ]; privateKey = (import ../private/credentials.nix).wireguard.privateKey; - /*peers = [ - { allowedIPs = [ "192.168.20.1/32" ]; + peers = [{ + allowedIPs = [ "192.168.3.2/32" ]; publicKey = "2LAxq8w89vdCqa+Jdtk4xsaJ0OcbU/jv71mzm/K0pXE="; - endpoint = "demo.wireguard.io:12913"; } - ];*/ + }]; }; }; diff --git a/systems/laptop.nix b/systems/laptop.nix index 81f720e..75376c8 100644 --- a/systems/laptop.nix +++ b/systems/laptop.nix @@ -62,13 +62,13 @@ in { networking.wireguard = { wg0 = { - /*ips = [ "192.168.20.4/24" ];*/ + ips = [ "192.168.3.2" ]; privateKey = (import ../private/credentials.nix).wireguard.privateKey; - /*peers = [ - { allowedIPs = [ "192.168.20.1/32" ]; + peers = [{ + allowedIPs = [ "0.0.0.0/0" ]; publicKey = "MoU34/IBbMrcNnNQdVuJCJB7WZul3GTUwhEVJ7paIQI="; - endpoint = "demo.wireguard.io:12913"; } - ];*/ + endpoint = "80.100.254.69:51820"; + }]; }; };