2017-05-22 17:22:28 +02:00
|
|
|
{ pkgs, ... }:
|
2015-07-23 02:11:56 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
|
2015-10-01 22:13:40 +02:00
|
|
|
krebs.iptables = {
|
2015-07-23 02:11:56 +02:00
|
|
|
tables = {
|
|
|
|
filter.INPUT.rules = [
|
|
|
|
{ predicate = "-p tcp --dport tinc"; target = "ACCEPT"; }
|
|
|
|
{ predicate = "-p udp --dport tinc"; target = "ACCEPT"; }
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-07-20 17:20:47 +02:00
|
|
|
krebs.tinc.retiolum = {
|
2017-05-16 23:18:50 +02:00
|
|
|
enableLegacy = true;
|
2015-07-23 02:11:56 +02:00
|
|
|
enable = true;
|
|
|
|
connectTo = [
|
2015-10-31 00:12:15 +01:00
|
|
|
"prism"
|
2015-08-20 16:09:24 +02:00
|
|
|
"gum"
|
2017-01-12 00:18:43 +01:00
|
|
|
"ni"
|
|
|
|
"dishfire"
|
2015-07-23 02:11:56 +02:00
|
|
|
];
|
|
|
|
};
|
2016-03-15 14:00:55 +01:00
|
|
|
|
|
|
|
nixpkgs.config.packageOverrides = pkgs: {
|
|
|
|
tinc = pkgs.tinc_pre;
|
|
|
|
};
|
2017-05-22 17:22:28 +02:00
|
|
|
|
|
|
|
environment.systemPackages = [
|
|
|
|
pkgs.tinc
|
|
|
|
];
|
2015-07-23 02:11:56 +02:00
|
|
|
}
|