aboutsummaryrefslogtreecommitdiff
path: root/nix/deuxfleurs.nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-03-09 17:06:57 +0100
committerAlex Auvolat <alex@adnab.me>2023-03-17 17:17:56 +0100
commitbb2660792f2e1dd63bd152b08095d9bf3879d569 (patch)
tree4386bd97e69b5aa879085afc2c17ccb9e0a5dd6d /nix/deuxfleurs.nix
parent6664affaa0127123d9eeae54128f845246ec7194 (diff)
downloadnixcfg-bb2660792f2e1dd63bd152b08095d9bf3879d569.tar.gz
nixcfg-bb2660792f2e1dd63bd152b08095d9bf3879d569.zip
wgautomesh persist state to file
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 e82e3f6..7c97ebf 100644
--- a/nix/deuxfleurs.nix
+++ b/nix/deuxfleurs.nix
@@ -250,6 +250,7 @@ in
interface = "wg0";
gossipPort = 1666;
gossipSecretFile = "/var/lib/wgautomesh/gossip_secret";
+ persistFile = "/var/lib/wgautomesh/state";
upnpForwardPublicPort =
let
us = filter ({ hostname, ...}: hostname == config.networking.hostName) cfg.cluster_nodes;