stockholm/tv/2configs/retiolum.nix

21 lines
425 B
Nix
Raw Normal View History

2016-06-30 01:05:21 +02:00
{ config, lib, pkgs, ... }:
2016-02-01 17:32:04 +01:00
2016-10-20 20:54:38 +02:00
with import <stockholm/lib>;
2016-02-01 17:32:04 +01:00
{
krebs.tinc.retiolum = {
2016-02-01 17:32:04 +01:00
enable = true;
connectTo = filter (ne config.krebs.build.host.name) [
2016-11-10 23:54:09 +01:00
"ni"
2016-02-01 17:32:04 +01:00
"prism"
2022-03-06 11:54:47 +01:00
"eve"
2016-02-01 17:32:04 +01:00
];
2017-08-01 12:15:45 +02:00
extraConfig = ''
LocalDiscovery = yes
'';
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";
tv.iptables.input-internet-accept-udp = singleton "tinc";
2016-02-01 17:32:04 +01:00
}