lab-infra/machines/dns01/_configuration.nix
Constantin Gierczak--Galle 862168b2bc
Some checks failed
lint / check (push) Successful in 23s
build configuration / build_krz01 (push) Failing after 1m23s
feat(dns01): init DNS config (#9)
Reviewed-on: #9
Co-authored-by: Constantin Gierczak--Galle <git.cst1@mailbox.org>
Co-committed-by: Constantin Gierczak--Galle <git.cst1@mailbox.org>
2024-12-07 12:53:31 +01:00

26 lines
519 B
Nix

{ lib, ... }:
lib.extra.mkConfig {
enabledModules = [
# List of modules to enable
];
enabledServices = [
# List of services to enable
"nsd"
];
extraConfig = {
# TODO : retrieve this address from meta/network.nix
deployment.targetHost = "45.13.104.26";
networking.firewall = {
enable = true;
logRefusedConnections = lib.mkForce true;
logRefusedPackets = lib.mkForce true;
allowedTCPPorts = [ 53 ];
allowedUDPPorts = [ 53 ];
};
};
root = ./.;
}