diff options
author | Alex Auvolat <alex@adnab.me> | 2022-02-09 15:38:36 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-02-09 15:38:36 +0100 |
commit | b0010b309b89eb64a4ca9e2dd7ceb37b42fd365a (patch) | |
tree | eed1e9e77ec8629aa9d43aadff22ab250759e2ab /nix | |
parent | f03cafd49b48eabc4743b3a3791fd22f19cb0de1 (diff) | |
download | nixcfg-b0010b309b89eb64a4ca9e2dd7ceb37b42fd365a.tar.gz nixcfg-b0010b309b89eb64a4ca9e2dd7ceb37b42fd365a.zip |
Config for prod cluster
Diffstat (limited to 'nix')
-rw-r--r-- | nix/deuxfleurs.nix | 2 |
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" ]; |