Files
homelab/containers/dns.nix
T
Xavier Morel ab98aeb897
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
feat: add groups to authentik apps + add mail base
2026-06-12 21:36:07 +02:00

43 lines
817 B
Nix

{
...
}:
{
my-lxc.dns = {
container = {
cores = 2;
memory = 1024;
disk = "5632M";
swap = 768;
};
system = {
port = 80;
additionalPorts = [
53
];
udpPorts = [
53
67
5335 # unbound
68 # DHCP
];
importConfig = [
../config/dns-adguardhome.nix
../config/dns-unbound.nix
];
services.resolved.enable = false;
};
logging = {
enable = true;
metricsEnable = true;
prometheusPorts = {
unbound = 9167;
};
};
private = true;
auth = true;
group = "Système";
description = "Serveur DNS & DHCP fourni par AdGuardHome & Unbound.";
icon = "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/adguard-home.png";
};
}