aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-02-09 15:38:36 +0100
committerAlex Auvolat <alex@adnab.me>2022-02-09 15:38:36 +0100
commitb0010b309b89eb64a4ca9e2dd7ceb37b42fd365a (patch)
treeeed1e9e77ec8629aa9d43aadff22ab250759e2ab /nix
parentf03cafd49b48eabc4743b3a3791fd22f19cb0de1 (diff)
downloadnixcfg-b0010b309b89eb64a4ca9e2dd7ceb37b42fd365a.tar.gz
nixcfg-b0010b309b89eb64a4ca9e2dd7ceb37b42fd365a.zip
Config for prod cluster
Diffstat (limited to 'nix')
-rw-r--r--nix/deuxfleurs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/deuxfleurs.nix b/nix/deuxfleurs.nix
index 9b8013c..54af8ff 100644
--- a/nix/deuxfleurs.nix
+++ b/nix/deuxfleurs.nix
@@ -79,7 +79,7 @@ in
networking.wireguard.interfaces.wg0 = {
ips = [ "${cfg.vpn_ip}/16" ];
listenPort = cfg.vpn_listen_port;
- privateKeyFile = "/root/wireguard-keys/private";
+ privateKeyFile = "/var/lib/deuxfleurs/wireguard-keys/private";
peers = map ({ publicKey, endpoint, IP, ... }: {
publicKey = publicKey;
allowedIPs = [ "${IP}/32" ];