2024-11-22 21:32:35 +01:00
|
|
|
{ lib, ... }:
|
|
|
|
|
|
|
|
lib.extra.mkConfig {
|
|
|
|
enabledModules = [
|
|
|
|
# List of modules to enable
|
|
|
|
];
|
|
|
|
|
|
|
|
enabledServices = [
|
|
|
|
# List of services to enable
|
|
|
|
"nsd"
|
|
|
|
];
|
|
|
|
|
2024-12-07 12:53:31 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
};
|
2024-11-22 21:32:35 +01:00
|
|
|
|
|
|
|
root = ./.;
|
|
|
|
}
|