feat: massive refactoring...
This commit is contained in:
31
containers/dns.nix
Normal file
31
containers/dns.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
my-lxc.dns = {
|
||||
container = {
|
||||
cores = 2;
|
||||
memory = 1024;
|
||||
disk = "4G";
|
||||
swap = 512;
|
||||
};
|
||||
system = {
|
||||
port = 80;
|
||||
additionalPorts = [
|
||||
53
|
||||
];
|
||||
udpPorts = [ 53 ];
|
||||
importConfig = [
|
||||
../config/dns-adguardhome.nix
|
||||
../config/dns-unbound.nix
|
||||
];
|
||||
services.resolved.enable = false;
|
||||
};
|
||||
logging = {
|
||||
enable = true;
|
||||
metricsEnable = true;
|
||||
};
|
||||
private = true;
|
||||
auth = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user