aboutsummaryrefslogtreecommitdiff
path: root/deploy_wg
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-11-03 19:25:28 +0100
committerAlex Auvolat <alex@adnab.me>2022-11-03 19:25:28 +0100
commitea8185d7e665bc47c468a4dc6ea9558e6b32693d (patch)
tree06b57b41daaed3aa26a6df847c62be074549fa50 /deploy_wg
parent40d5665ffe16841dd448c5a93c7dfe84cc21d8ca (diff)
downloadnixcfg-ea8185d7e665bc47c468a4dc6ea9558e6b32693d.tar.gz
nixcfg-ea8185d7e665bc47c468a4dc6ea9558e6b32693d.zip
Reinstall caribou
Diffstat (limited to 'deploy_wg')
-rwxr-xr-xdeploy_wg2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy_wg b/deploy_wg
index ba67b2e..0bef5d6 100755
--- a/deploy_wg
+++ b/deploy_wg
@@ -1,6 +1,6 @@
#!/usr/bin/env ./sshtool
-cmd 'nix-env -i wireguard'
+cmd 'nix-env -i wireguard-tools'
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)"'