ma tinc: open tinc ports in config

This commit is contained in:
makefu 2018-12-13 01:34:15 +01:00
parent b9f21cc567
commit 4f591e4531
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -1,8 +1,10 @@
{ pkgs, ... }: { pkgs, config, ... }:
{ {
imports = [ imports = [
../binary-cache/lass.nix ../binary-cache/lass.nix
]; ];
krebs.tinc.retiolum.enable = true; krebs.tinc.retiolum.enable = true;
environment.systemPackages = [ pkgs.tinc ]; 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 ];
} }