lab-infra/machines/dns01/_configuration.nix
Constantin Gierczak--Galle 1467819be2
Some checks failed
lint / check (push) Successful in 24s
build configuration / build_krz01 (push) Failing after 1m30s
feat: add deployment tag 'cst1'
2024-12-09 10:31:35 +01:00

27 lines
553 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";
deployment.tags = [ "cst1" ];
networking.firewall = {
enable = true;
logRefusedConnections = lib.mkForce true;
logRefusedPackets = lib.mkForce true;
allowedTCPPorts = [ 53 ];
allowedUDPPorts = [ 53 ];
};
};
root = ./.;
}