diff options
author | Alex Auvolat <alex@adnab.me> | 2023-03-31 16:36:48 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-03-31 16:36:48 +0200 |
commit | 2add84963dab019b165d8199b94e790d43d6e0cd (patch) | |
tree | 4c3cef1f07752828e4daf0fc2f46ebcddb501270 /deploy_nixos | |
parent | a31c6d109e95a33e165d43c4a47de54ea53ca436 (diff) | |
download | nixcfg-2add84963dab019b165d8199b94e790d43d6e0cd.tar.gz nixcfg-2add84963dab019b165d8199b94e790d43d6e0cd.zip |
use wgautomesh service definition from my nixpkgs PRwgautomesh-service-v2
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 |