mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
Add unbound config and ipv6 net
This commit is contained in:
parent
d2fce934d7
commit
7c3a7d6876
@ -23,7 +23,7 @@ with lib; {
|
|||||||
prefixes = {
|
prefixes = {
|
||||||
ipv4 = [ "192.168.244" ];
|
ipv4 = [ "192.168.244" ];
|
||||||
ipv6 = {
|
ipv6 = {
|
||||||
ula = [ ]; # TODO
|
ula = [ "fdaa:3313:9dfa:dfa3" ]; # TODO
|
||||||
gua = [ ];
|
gua = [ ];
|
||||||
};
|
};
|
||||||
serial = "2022073100";
|
serial = "2022073100";
|
||||||
|
|||||||
@ -19,6 +19,7 @@ with lib; {
|
|||||||
unbound = {
|
unbound = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.server.interface = [ "127.0.0.0" "::1" ];
|
settings.server.interface = [ "127.0.0.0" "::1" ];
|
||||||
|
settings.server.accesControl = [ "192.168.244.0/24" "fdaa:3313:9dfa:dfa3/64" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user