@ -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"; }
];*/
}];
};
@ -62,13 +62,13 @@ in {
ips = [ "192.168.3.2" ];
allowedIPs = [ "0.0.0.0/0" ];
publicKey = "MoU34/IBbMrcNnNQdVuJCJB7WZul3GTUwhEVJ7paIQI=";
endpoint = "80.100.254.69:51820";