mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
nuc: re-enable adguard dns
This commit is contained in:
parent
5dbab41a2e
commit
cb49b95c53
3 changed files with 15 additions and 6 deletions
10
hosts/nuc/modules/adguard/default.nix
Normal file
10
hosts/nuc/modules/adguard/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ ... }:
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [ 53 ];
|
||||
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||
services.adguardhome = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
settings.bind_port = 3000;
|
||||
};
|
||||
}
|
|
@ -21,12 +21,10 @@
|
|||
"2620:fe::fe"
|
||||
"2620:fe::9"
|
||||
];
|
||||
# make room for the adguard dns
|
||||
# extraConfig = ''
|
||||
# [Resolve]
|
||||
# DNS=127.0.0.1
|
||||
# DNSStubListener=no
|
||||
# '';
|
||||
extraConfig = ''
|
||||
[Resolve]
|
||||
DNSStubListener=no
|
||||
'';
|
||||
};
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue