feat: wireguard test

This commit is contained in:
Nick 2025-07-01 12:40:17 -05:00
parent b04a752443
commit f240fddd73

View file

@ -5,7 +5,7 @@
... ...
}: }:
let let
inherit (flake.config.machines.devices) ceres; inherit (flake.config.machines.devices) ceres mars;
inherit (flake.config.services.instances) searx web; inherit (flake.config.services.instances) searx web;
configHelpers = { configHelpers = {
service = searx; service = searx;
@ -47,7 +47,7 @@ in
"${configHelpers.host}" = { "${configHelpers.host}" = {
extraConfig = '' extraConfig = ''
@allowed_ips { @allowed_ips {
remote_ip 10.100.0.0/24 remote_ip ${mars.wireguard.ip0}
} }
handle @allowed_ips { handle @allowed_ips {