diff options
Diffstat (limited to 'deploy_nixos')
-rwxr-xr-x | deploy_nixos | 4 |
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 |