2016-06-29 23:05:21 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
2016-02-01 16:32:04 +00:00
|
|
|
|
2016-10-20 18:54:38 +00:00
|
|
|
with import <stockholm/lib>;
|
2016-02-01 16:32:04 +00:00
|
|
|
|
|
|
|
{
|
2016-07-20 15:20:47 +00:00
|
|
|
krebs.tinc.retiolum = {
|
2016-02-01 16:32:04 +00:00
|
|
|
enable = true;
|
|
|
|
connectTo = filter (ne config.krebs.build.host.name) [
|
|
|
|
"gum"
|
|
|
|
"prism"
|
|
|
|
"echelon"
|
|
|
|
"cd"
|
|
|
|
"ire"
|
|
|
|
];
|
2016-06-29 23:05:21 +00:00
|
|
|
tincPackage = pkgs.tinc_pre;
|
2016-02-01 16:32:04 +00:00
|
|
|
};
|
2016-06-29 22:52:35 +00:00
|
|
|
tv.iptables.input-internet-accept-tcp = singleton "tinc";
|
2016-06-29 23:09:39 +00:00
|
|
|
tv.iptables.input-internet-accept-udp = singleton "tinc";
|
2016-02-01 16:32:04 +00:00
|
|
|
}
|