aboutsummaryrefslogtreecommitdiff
path: root/deploy_nixos
diff options
context:
space:
mode:
Diffstat (limited to 'deploy_nixos')
-rwxr-xr-xdeploy_nixos3
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy_nixos b/deploy_nixos
index b1c9be7..48ef9ea 100755
--- a/deploy_nixos
+++ b/deploy_nixos
@@ -9,6 +9,9 @@ copy cluster/$CLUSTER/node/$NIXHOST.site.nix /etc/nixos/site.nix
if [ "$CLUSTER" = "staging" ]; then
copy nix/nomad-driver-nix2.nix /etc/nixos/nomad-driver-nix2.nix
+
+ cmd mkdir -p /var/lib/wgautomesh
+ write_pass deuxfleurs/cluster/$CLUSTER/wgautomesh_gossip_secret /var/lib/wgautomesh/gossip_secret
copy nix/wgautomesh.nix /etc/nixos/wgautomesh.nix
fi