aboutsummaryrefslogtreecommitdiff
path: root/hosts/mercury/wireguard.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-08-20 12:34:03 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-08-20 12:34:03 -0500
commit967ec14cba166079d71d67f4137ee62fca315d62 (patch)
treed440d4443b181c54a21b64197f03b757a90b6d14 /hosts/mercury/wireguard.nix
parent2b1c6161c5d2381cbfe224694dfb218aee0b6da1 (diff)
rekey a bunch of secrets, other stuff
Diffstat (limited to 'hosts/mercury/wireguard.nix')
-rw-r--r--hosts/mercury/wireguard.nix15
1 files changed, 1 insertions, 14 deletions
diff --git a/hosts/mercury/wireguard.nix b/hosts/mercury/wireguard.nix
index 105d10b..1035a0e 100644
--- a/hosts/mercury/wireguard.nix
+++ b/hosts/mercury/wireguard.nix
@@ -7,19 +7,6 @@
}: {
environment.systemPackages = [pkgs.wireguard-tools];
- systemd.services.udp2raw-client = {
- description = "udp2raw WireGuard transport";
- wantedBy = ["multi-user.target"];
- after = ["network-online.target"];
- wants = ["network-online.target"];
-
- serviceConfig = {
- ExecStart = "${lib.getExe pkgs.udp2raw} -c -l 127.0.0.1:51820 -r 70.130.121.193:51843 -k shared-secret -a";
- Restart = "on-failure";
- RestartSec = "2s";
- };
- };
-
systemd.network.netdevs."10-wg" = {
netdevConfig = {
Kind = "wireguard";
@@ -34,7 +21,7 @@
{
PublicKey = hosts.ganymede.wg_pubkey;
AllowedIPs = ["10.100.0.0/24"];
- Endpoint = "127.0.0.1:51820";
+ Endpoint = "williamsfam.us.com:51820";
}
];
};