mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 21:04:38 -05:00
feat: wireguard test
This commit is contained in:
parent
b04a752443
commit
f240fddd73
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue