nixos-config/2configs/tinc/siem.nix
2016-08-02 11:50:53 +02:00

13 lines
380 B
Nix

{lib, config, ... }:
{
# TODO do not know why we need to force it, port is only set via default to 655
krebs.build.host.nets.siem.tinc.port = lib.mkForce 1655;
krebs.dns.providers.siem = "hosts";
networking.firewall.allowedUDPPorts = [ 1665 ];
networking.firewall.allowedTCPPorts = [ 1655 ];
krebs.tinc.siem = {
enable = true;
connectTo = [ "shoney" ];
};
}