Server/adguard: get host ip dinamically
This commit is contained in:
parent
965a5eef13
commit
6be10e325a
1 changed files with 6 additions and 2 deletions
|
|
@ -1,4 +1,8 @@
|
|||
{lib, ...}: let
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
domain = "adguard.everest.tailscale";
|
||||
port = 3001;
|
||||
in {
|
||||
|
|
@ -10,7 +14,7 @@ in {
|
|||
settings = {
|
||||
dns = {
|
||||
bind_hosts = [
|
||||
"10.0.0.2"
|
||||
((lib.lists.last config.networking.interfaces.eno1.ipv4.addresses).address)
|
||||
"100.100.0.1"
|
||||
];
|
||||
bootstrap_dns = ["9.9.9.9"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue