wireguard-thierry: update new secrets name

This commit is contained in:
makefu 2024-01-15 22:36:57 +01:00
parent 14bff2d907
commit 9fd7b7379a
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225

View file

@ -1,9 +1,8 @@
{ config, lib, ... }:
{
sops.secrets."wg-thierry.key" = {};
networking.wireguard.interfaces.thierry-wg = {
ips = [ "172.27.66.10/24" ]; # TODO: not dnyamic
privateKeyFile = config.sops.secrets."wg-thierry.key".path;
privateKeyFile = config.sops.secrets."wbob-wg-thierry.key".path;
allowedIPsAsRoutes = true;
# explicit route via eth0 to gum
peers = [