feat(architect/dns.nix): add configuration for adguard.giugl.io
- Added configuration for `adguard.giugl.io` with specified DNS interfaces and location settings - Configured to use the port from `config.services.adguardhome.port` - Allowed LAN access and specified allowed networks (`tailscale.net`)
This commit is contained in:
parent
c14ae459ff
commit
5a6bd41afd
@ -39,8 +39,21 @@ let
|
||||
allDomains = config.architect.vhost // {
|
||||
"architect.devs.giugl.io" = { dnsInterfaces = [ "lan" "tailscale" ]; };
|
||||
};
|
||||
domain = "adguard.giugl.io";
|
||||
in
|
||||
{
|
||||
architect.vhost.${domain} = with config.architect.networks; {
|
||||
dnsInterfaces = [ "tailscale" "lan" ];
|
||||
locations."/" = {
|
||||
port = config.services.adguardhome.port;
|
||||
allowLan = true;
|
||||
|
||||
allow = [
|
||||
tailscale.net
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
coredns = {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user