From 923aaf9e957c1707b975b1b9eb0c88af008609f9 Mon Sep 17 00:00:00 2001 From: John Ogle Date: Wed, 17 Sep 2025 22:04:42 -0700 Subject: [PATCH] [nix-book] Replace OpenVPN with WireGuard wg-quick Remove services.openvpn.servers and add networking.wg-quick.interfaces. Configure ogleNet to use /root/Oglehome-VPN-johno-nixbook.conf as the WireGuard config file. --- machines/nix-book/configuration.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/machines/nix-book/configuration.nix b/machines/nix-book/configuration.nix index e95c945..92773bc 100644 --- a/machines/nix-book/configuration.nix +++ b/machines/nix-book/configuration.nix @@ -43,8 +43,11 @@ # Enable networking networking.networkmanager.enable = true; - services.openvpn.servers = { - ogleNet = { config = '' config /root/Oglehome-VPN-johno-nixbook.conf ''; }; + # WireGuard setup + networking.wg-quick.interfaces = { + ogleNet = { + configFile = "/root/Oglehome-VPN-johno-nixbook.conf"; + }; }; hardware.graphics = {