diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-10-16 12:08:49 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-10-16 12:08:49 +0200 |
commit | b42bf16f78b2f9b0e53cf5bd5a9bc396b9286ec1 (patch) | |
tree | eb822c16e53f4b5a5cf90984ab434b62a64241a1 /deploy_nixos | |
parent | 294c2ad2ed46d12ac7b8305bb2b67b460c134180 (diff) | |
parent | 45a0e850ce7c498e5ef1d281fb67b2f34dc00e8c (diff) | |
download | nixcfg-b42bf16f78b2f9b0e53cf5bd5a9bc396b9286ec1.tar.gz nixcfg-b42bf16f78b2f9b0e53cf5bd5a9bc396b9286ec1.zip |
Merge branch 'main' into add-bespin
Diffstat (limited to 'deploy_nixos')
-rwxr-xr-x | deploy_nixos | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/deploy_nixos b/deploy_nixos index f62843d..0bd1b4c 100755 --- a/deploy_nixos +++ b/deploy_nixos @@ -7,8 +7,4 @@ 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/deuxfleurs/wireguard-keys' -cmd 'test -f /var/lib/deuxfleurs/wireguard-keys/private || (wg genkey > /var/lib/deuxfleurs/wireguard-keys/private; chmod 600 /var/lib/deuxfleurs/wireguard-keys/private)' -cmd 'echo "Public key: $(wg pubkey < /var/lib/deuxfleurs/wireguard-keys/private)"' - cmd nixos-rebuild switch --show-trace |