[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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user