Christoph Heiss
df9b15996d
Runs blocky + unbound for custom DNS. Also adds all the common nix infrastructure needed. Signed-off-by: Christoph Heiss <christoph@c8h4.io>
16 lines
284 B
Nix
16 lines
284 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
networking = {
|
|
usePredictableInterfaceNames = lib.mkDefault true;
|
|
nameservers = lib.mkDefault [ "9.9.9.9" ];
|
|
domain = "c8h4.io";
|
|
search = [ "c8h4.io" ];
|
|
};
|
|
|
|
networking.firewall = {
|
|
allowPing = true;
|
|
logRefusedConnections = false;
|
|
};
|
|
}
|