feat(bomba): add adguard

This commit is contained in:
2026-07-16 19:08:45 +02:00
parent 3ec2c6f4fa
commit 9539818438
4 changed files with 25 additions and 0 deletions
+2
View File
@@ -8,6 +8,7 @@
allowedTCPPorts = [ allowedTCPPorts = [
22 22
25 25
53
80 80
143 143
443 443
@@ -17,6 +18,7 @@
27015 27015
]; ];
allowedUDPPorts = [ allowedUDPPorts = [
53
80 80
443 443
34197 34197
+18
View File
@@ -0,0 +1,18 @@
{ ... }:
{
services.adguardhome = {
enable = true;
port = 8017;
mutableSettings = true;
settings = {
dns = {
upstream_dns = [
"1.1.1.1"
"9.9.9.9"
];
bind_hosts = [ "192.168.1.223" ];
port = 53;
};
};
};
}
+4
View File
@@ -83,6 +83,10 @@
"inventory.patrickcanal.it".extraConfig = '' "inventory.patrickcanal.it".extraConfig = ''
reverse_proxy :${toString config.services.homebox.settings.HBOX_WEB_PORT} reverse_proxy :${toString config.services.homebox.settings.HBOX_WEB_PORT}
''; '';
"adguard.patrickcanal.it".extraConfig = ''
${basicAuth}
reverse_proxy :${toString config.services.adguardhome.port}
'';
}; };
}; };
+1
View File
@@ -2,6 +2,7 @@
{ {
imports = [ imports = [
./actual.nix ./actual.nix
./adguard.nix
./caddy.nix ./caddy.nix
./fail2ban.nix ./fail2ban.nix
./gitea.nix ./gitea.nix