[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.
This commit is contained in:
2025-09-17 22:04:42 -07:00
parent 23b1c450a2
commit 923aaf9e95

View File

@@ -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 = {