ma tinc: open tinc ports in config

This commit is contained in:
makefu 2018-12-13 01:34:15 +01:00
parent dc0427d99e
commit 7e3edde28f

View file

@ -1,8 +1,10 @@
{ pkgs, ... }:
{ pkgs, config, ... }:
{
imports = [
../binary-cache/lass.nix
];
krebs.tinc.retiolum.enable = true;
environment.systemPackages = [ pkgs.tinc ];
networking.firewall.allowedTCPPorts = [ config.krebs.build.host.nets.retiolum.tinc.port ];
networking.firewall.allowedUDPPorts = [ config.krebs.build.host.nets.retiolum.tinc.port ];
}