nixos-config/2configs/tinc/siem.nix

13 lines
380 B
Nix
Raw Normal View History

2016-07-28 12:58:54 +02:00
{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;
2016-08-02 11:50:53 +02:00
krebs.dns.providers.siem = "hosts";
2016-07-28 12:58:54 +02:00
networking.firewall.allowedUDPPorts = [ 1665 ];
networking.firewall.allowedTCPPorts = [ 1655 ];
krebs.tinc.siem = {
enable = true;
connectTo = [ "shoney" ];
};
}