Configure unbound
This commit is contained in:
parent
269d7cd8b1
commit
bfc0f64824
2 changed files with 8 additions and 3 deletions
|
@ -56,9 +56,6 @@ in {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
|
||||||
java.enable = true;
|
|
||||||
};
|
|
||||||
systemd.services =
|
systemd.services =
|
||||||
{
|
{
|
||||||
pg_backup = {
|
pg_backup = {
|
||||||
|
|
|
@ -89,7 +89,15 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
unbound = {
|
||||||
|
enable = true;
|
||||||
|
settings.server = {
|
||||||
|
access-control = ["127.0.0.0/8 allow" "::1/128 allow" "fdc0:7::/64 allow"];
|
||||||
|
interface = ["::1" "127.0.0.1" hosts.vpn.hera];
|
||||||
|
};
|
||||||
|
};
|
||||||
ndppd = {
|
ndppd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configFile = pkgs.writeText "ndppd.conf" ''
|
configFile = pkgs.writeText "ndppd.conf" ''
|
||||||
|
|
Loading…
Reference in a new issue