diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-10-16 11:58:11 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-10-16 11:58:11 +0200 |
commit | d442b9a068b39e0180027398faa7011bbbe3c3c9 (patch) | |
tree | 011c2bd709002ceca5881b8c383ebbe81c4b5c02 /deploy_nixos | |
parent | 9a8cbf91215317a571ed3714f76230a751a91896 (diff) | |
download | nixcfg-d442b9a068b39e0180027398faa7011bbbe3c3c9.tar.gz nixcfg-d442b9a068b39e0180027398faa7011bbbe3c3c9.zip |
Update README
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 |