diff --git a/modules/darwin/base/wireguard/default.nix b/modules/darwin/base/wireguard/default.nix index 7b6e94d7..eaded518 100644 --- a/modules/darwin/base/wireguard/default.nix +++ b/modules/darwin/base/wireguard/default.nix @@ -6,20 +6,20 @@ let pskFile = config.chvp.base.network.wireguard.pskFile; in { - networking.wg-quick.interfaces."wg0" = { - address = [ "${data.${config.networking.hostName}.ip}/32" ]; - autostart = true; - dns = [ data.lasting-integrity.ip ]; - mtu = 1342; - peers = [ - { - allowedIPs = [ subnet ]; - endpoint = "lasting-integrity.vanpetegem.me:51820"; - presharedKeyFile = pskFile; - persistentKeepalive = 25; - publicKey = data.lasting-integrity.pubkey; - } - ]; - privateKeyFile = data.${config.networking.hostName}.privkeyFile; - }; + # networking.wg-quick.interfaces."wg0" = { + # address = [ "${data.${config.networking.hostName}.ip}/32" ]; + # autostart = true; + # dns = [ data.lasting-integrity.ip ]; + # mtu = 1342; + # peers = [ + # { + # allowedIPs = [ subnet ]; + # endpoint = "lasting-integrity.vanpetegem.me:51820"; + # presharedKeyFile = pskFile; + # persistentKeepalive = 25; + # publicKey = data.lasting-integrity.pubkey; + # } + # ]; + # privateKeyFile = data.${config.networking.hostName}.privkeyFile; + # }; }