forked from Deuxfleurs/nixcfg
Remove root, add wg-quick-wg0 after unbound
This commit is contained in:
parent
c4ed69336b
commit
a327876e25
2 changed files with 1 additions and 3 deletions
|
@ -23,13 +23,10 @@ Host doradille
|
||||||
|
|
||||||
Host df-ykl
|
Host df-ykl
|
||||||
HostName df-ykl.machine.deuxfleurs.fr
|
HostName df-ykl.machine.deuxfleurs.fr
|
||||||
User root
|
|
||||||
|
|
||||||
Host df-ymf
|
Host df-ymf
|
||||||
HostName df-ymf.machine.deuxfleurs.fr
|
HostName df-ymf.machine.deuxfleurs.fr
|
||||||
User root
|
|
||||||
|
|
||||||
Host df-ymk
|
Host df-ymk
|
||||||
HostName df-ymk.machine.deuxfleurs.fr
|
HostName df-ymk.machine.deuxfleurs.fr
|
||||||
User root
|
|
||||||
|
|
||||||
|
|
|
@ -210,6 +210,7 @@ in
|
||||||
services.resolved.enable = false;
|
services.resolved.enable = false;
|
||||||
|
|
||||||
# Configure Wireguard VPN between all nodes
|
# Configure Wireguard VPN between all nodes
|
||||||
|
systemd.services."wg-quick-wg0".after = [ "unbound.service" ];
|
||||||
networking.wg-quick.interfaces.wg0 = {
|
networking.wg-quick.interfaces.wg0 = {
|
||||||
address = [ "${cfg.cluster_ip}/16" ];
|
address = [ "${cfg.cluster_ip}/16" ];
|
||||||
listenPort = cfg.wireguard_port;
|
listenPort = cfg.wireguard_port;
|
||||||
|
|
Loading…
Reference in a new issue