18 lines
363 B
Nix
18 lines
363 B
Nix
{ config, ... }: {
|
|
services = {
|
|
coredns.enable = true;
|
|
coredns.config = ''
|
|
. {
|
|
forward . 9.9.9.9 149.112.112.112 84.200.69.80 84.200.70.40
|
|
cache
|
|
}
|
|
|
|
matri.cx {
|
|
template IN A {
|
|
answer "{{ .Name }} 0 IN A 192.168.0.130"
|
|
}
|
|
}
|
|
'';
|
|
};
|
|
}
|