sops: init

This commit is contained in:
Grigory Shipunov 2022-05-29 14:33:39 +02:00
parent 903ad98313
commit b8608870c9
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
5 changed files with 70 additions and 3 deletions

View file

@ -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" ];