From b8608870c9774d49ed62f398751fda8b49ed0c8d Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sun, 29 May 2022 14:33:39 +0200 Subject: sops: init --- modules/wireguard.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/wireguard.nix') diff --git a/modules/wireguard.nix b/modules/wireguard.nix index 9a01f74..d989570 100644 --- a/modules/wireguard.nix +++ b/modules/wireguard.nix @@ -3,7 +3,7 @@ { networking.wg-quick.interfaces = { wg-zw = { - privateKeyFile="/etc/wg/zw-wg-key"; + privateKeyFile=config.sops.secrets."wg/wg-zw-seckey".path; address = ["172.20.76.226" ]; dns = [ "172.20.73.8" ]; peers = [ @@ -15,7 +15,7 @@ ]; }; wg-dvb = { - privateKeyFile="/etc/wg/wg-dvb"; + privateKeyFile=config.sops.secrets."wg/wg-dvb-seckey".path; address = [ "10.13.37.3/32" ]; peers = [ @@ -29,7 +29,7 @@ }; mlwd-nl = { - privateKeyFile = "/etc/wg/mlvd"; + privateKeyFile=config.sops.secrets."wg/mlwd-nl-seckey".path; address = [ "10.65.79.164/32" "fc00:bbbb:bbbb:bb01::2:4fa3/128" ]; dns = [ "193.138.218.74" ]; -- cgit v1.3.1