aboutsummaryrefslogtreecommitdiff
path: root/deploy_nixos
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-03-31 16:36:48 +0200
committerAlex Auvolat <alex@adnab.me>2023-03-31 16:36:48 +0200
commit2add84963dab019b165d8199b94e790d43d6e0cd (patch)
tree4c3cef1f07752828e4daf0fc2f46ebcddb501270 /deploy_nixos
parenta31c6d109e95a33e165d43c4a47de54ea53ca436 (diff)
downloadnixcfg-wgautomesh-service-v2.tar.gz
nixcfg-wgautomesh-service-v2.zip
use wgautomesh service definition from my nixpkgs PRwgautomesh-service-v2
Diffstat (limited to 'deploy_nixos')
-rwxr-xr-xdeploy_nixos4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy_nixos b/deploy_nixos
index b716993..a35fec3 100755
--- a/deploy_nixos
+++ b/deploy_nixos
@@ -7,9 +7,9 @@ copy cluster/$CLUSTER/cluster.nix /etc/nixos/cluster.nix
copy cluster/$CLUSTER/node/$NIXHOST.nix /etc/nixos/node.nix
copy cluster/$CLUSTER/node/$NIXHOST.site.nix /etc/nixos/site.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
+cmd mkdir -p /var/lib/deuxfleurs
+write_pass deuxfleurs/cluster/$CLUSTER/wgautomesh_gossip_secret /var/lib/deuxfleurs/wgautomesh_gossip_secret
if [ "$CLUSTER" = "staging" ]; then
copy nix/nomad-driver-nix2.nix /etc/nixos/nomad-driver-nix2.nix