let's try wg-quick

This commit is contained in:
Lillian Violet 2024-12-04 17:59:39 +01:00
parent 09dffb5d93
commit 93b63910bb

View file

@ -60,9 +60,10 @@
sops.secrets."protonvpn-priv-key".mode = "0440"; sops.secrets."protonvpn-priv-key".mode = "0440";
sops.secrets."protonvpn-priv-key".owner = config.users.users.wireguard.name; 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" is the network interface name. You can name the interface arbitrarily.
wg0 = { wg0 = {
autostart = true;
# Determines the IP address and subnet of the server's end of the tunnel interface. # Determines the IP address and subnet of the server's end of the tunnel interface.
ips = ["10.2.0.2/32"]; ips = ["10.2.0.2/32"];