[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
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
services.openvpn.servers = {
|
# WireGuard setup
|
||||||
ogleNet = { config = '' config /root/Oglehome-VPN-johno-nixbook.conf ''; };
|
networking.wg-quick.interfaces = {
|
||||||
|
ogleNet = {
|
||||||
|
configFile = "/root/Oglehome-VPN-johno-nixbook.conf";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
|
|||||||
Reference in New Issue
Block a user