2016-06-30 01:05:21 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
2016-02-01 17:32:04 +01:00
|
|
|
|
2016-02-14 16:43:44 +01:00
|
|
|
with config.krebs.lib;
|
2016-02-01 17:32:04 +01:00
|
|
|
|
|
|
|
{
|
2016-07-20 17:20:47 +02:00
|
|
|
krebs.tinc.retiolum = {
|
2016-02-01 17:32:04 +01:00
|
|
|
enable = true;
|
|
|
|
connectTo = filter (ne config.krebs.build.host.name) [
|
|
|
|
"gum"
|
|
|
|
"prism"
|
|
|
|
"echelon"
|
|
|
|
"cd"
|
|
|
|
"ire"
|
|
|
|
];
|
2016-06-30 01:05:21 +02:00
|
|
|
tincPackage = pkgs.tinc_pre;
|
2016-02-01 17:32:04 +01:00
|
|
|
};
|
2016-06-30 00:52:35 +02:00
|
|
|
tv.iptables.input-internet-accept-tcp = singleton "tinc";
|
2016-06-30 01:09:39 +02:00
|
|
|
tv.iptables.input-internet-accept-udp = singleton "tinc";
|
2016-02-01 17:32:04 +01:00
|
|
|
}
|