Remove root, add wg-quick-wg0 after unbound

This commit is contained in:
Alex 2022-11-28 10:19:48 +01:00
parent c4ed69336b
commit a327876e25
Signed by: lx
GPG key ID: 0E496D15096376BE
2 changed files with 1 additions and 3 deletions

View file

@ -23,13 +23,10 @@ Host doradille
Host df-ykl
HostName df-ykl.machine.deuxfleurs.fr
User root
Host df-ymf
HostName df-ymf.machine.deuxfleurs.fr
User root
Host df-ymk
HostName df-ymk.machine.deuxfleurs.fr
User root

View file

@ -210,6 +210,7 @@ in
services.resolved.enable = false;
# Configure Wireguard VPN between all nodes
systemd.services."wg-quick-wg0".after = [ "unbound.service" ];
networking.wg-quick.interfaces.wg0 = {
address = [ "${cfg.cluster_ip}/16" ];
listenPort = cfg.wireguard_port;