WireGuard: Difference between revisions

drop 24.05 compat
drop 24.05 compat
Line 334: Line 334:
             Endpoint = "{set this to the server ip}:51820";
             Endpoint = "{set this to the server ip}:51820";
           }
           }
          # configuration for nixos 24.05
          #{
          #  wireguardPeerConfig = {
          #    PublicKey = "OhApdFoOYnKesRVpnYRqwk3pdM247j8PPVH5K7aIKX0=";
          #    AllowedIPs = ["fc00::1/64" "10.100.0.1"];
          #    Endpoint = "{set this to the server ip}:51820";
          #  };
          #}
         ];
         ];
       };
       };