aboutsummaryrefslogtreecommitdiff
path: root/nix/deuxfleurs.nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-11-28 10:19:48 +0100
committerAlex Auvolat <alex@adnab.me>2022-11-28 10:19:48 +0100
commita327876e253b464c049faeafeb24ab2687425014 (patch)
treed3ac6ca4d9b7174add470d26ba150479fad623f5 /nix/deuxfleurs.nix
parentc4ed69336bc191c5ab5a7747fd31596bfdf77148 (diff)
downloadnixcfg-a327876e253b464c049faeafeb24ab2687425014.tar.gz
nixcfg-a327876e253b464c049faeafeb24ab2687425014.zip
Remove root, add wg-quick-wg0 after unbound
Diffstat (limited to 'nix/deuxfleurs.nix')
-rw-r--r--nix/deuxfleurs.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nix/deuxfleurs.nix b/nix/deuxfleurs.nix
index e2c1c17..edf97fb 100644
--- a/nix/deuxfleurs.nix
+++ b/nix/deuxfleurs.nix
@@ -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;