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