From 93b63910bb4758050da1e83421e2a4ea2eb12877 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Wed, 4 Dec 2024 17:59:39 +0100 Subject: [PATCH] let's try wg-quick --- nixos/hosts/wheatley/configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/hosts/wheatley/configuration.nix b/nixos/hosts/wheatley/configuration.nix index 88fd94f..1b84c0a 100644 --- a/nixos/hosts/wheatley/configuration.nix +++ b/nixos/hosts/wheatley/configuration.nix @@ -60,9 +60,10 @@ sops.secrets."protonvpn-priv-key".mode = "0440"; sops.secrets."protonvpn-priv-key".owner = config.users.users.wireguard.name; - networking.wireguard.interfaces = { + networking.wg-quick.interfaces = { # "wg0" is the network interface name. You can name the interface arbitrarily. wg0 = { + autostart = true; # Determines the IP address and subnet of the server's end of the tunnel interface. ips = ["10.2.0.2/32"];