feat: wireguard test

This commit is contained in:
Nick 2025-07-01 04:11:32 -05:00
parent 30712af182
commit b85ddb710d
23 changed files with 309 additions and 510 deletions

View file

@ -0,0 +1,26 @@
{
flake,
config,
configHelpers,
...
}:
let
inherit (flake.config.machines.devices) ceres;
in
{
port = configHelpers.service.ports.port0;
bind_address = configHelpers.localhost;
secret_key = config.sops.secrets.searx-key.path;
limiter = false;
public_instance = false;
image_proxy = true;
method = "GET";
}
// (
if configHelpers.hostname == ceres.name then
{
base_url = "https://${configHelpers.host}";
}
else
{ }
)