aboutsummaryrefslogtreecommitdiff
path: root/deploy_nixos
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-03-09 16:39:58 +0100
committerAlex Auvolat <alex@adnab.me>2023-03-17 17:17:56 +0100
commit6664affaa0127123d9eeae54128f845246ec7194 (patch)
treefb0b5cd7c7d4bf2af64afbcd671ac105de76f146 /deploy_nixos
parenta3edbb4100c992f46a5d586d3f516ab012b9cab4 (diff)
downloadnixcfg-6664affaa0127123d9eeae54128f845246ec7194.tar.gz
nixcfg-6664affaa0127123d9eeae54128f845246ec7194.zip
wgautomesh gossip secret file
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